]> err.no Git - linux-2.6/commitdiff
[IA64] check-segrel.lds vs --build-id
authorRoland McGrath <roland@redhat.com>
Thu, 18 Oct 2007 19:54:53 +0000 (12:54 -0700)
committerTony Luck <tony.luck@intel.com>
Mon, 29 Oct 2007 17:53:04 +0000 (10:53 -0700)
Some versions of ld with --build-id support will crash when using the flag
with a linker script that discards notes.  This bites ia64's check-segrel.lds.
The bug is easy to avoid.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/scripts/check-segrel.lds

index 1c2f13e181d0bff8ff2f2cbada0f282f8ab5a8b7..85a0d54fb5abf928fb48af225d7d2b2f119bd202 100644 (file)
@@ -1,6 +1,7 @@
 SECTIONS {
        . = SIZEOF_HEADERS;
        .rodata : { *(.rodata) } :ro
+       .note : { *(.note*) }
        . = 0xa0000;
        .data : { *(.data) } :dat
        /DISCARD/ : { *(*) }