aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2007-10-18 15:54:53 -0400
committerTony Luck <tony.luck@intel.com>2007-10-29 13:53:04 -0400
commitd650c37b2f8dbc5ac5055957617816eeb40ec79c (patch)
tree9bf1e24c9364a0f34b8d491c27e739cad6eecb9c /arch
parent1775fe851632fd906bc5e5c6f77494d8f7ef1275 (diff)
[IA64] check-segrel.lds vs --build-id
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/ia64/scripts/check-segrel.lds1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ia64/scripts/check-segrel.lds b/arch/ia64/scripts/check-segrel.lds
index 1c2f13e181d0..85a0d54fb5ab 100644
--- a/arch/ia64/scripts/check-segrel.lds
+++ b/arch/ia64/scripts/check-segrel.lds
@@ -1,6 +1,7 @@
1SECTIONS { 1SECTIONS {
2 . = SIZEOF_HEADERS; 2 . = SIZEOF_HEADERS;
3 .rodata : { *(.rodata) } :ro 3 .rodata : { *(.rodata) } :ro
4 .note : { *(.note*) }
4 . = 0xa0000; 5 . = 0xa0000;
5 .data : { *(.data) } :dat 6 .data : { *(.data) } :dat
6 /DISCARD/ : { *(*) } 7 /DISCARD/ : { *(*) }