From: Roland McGrath Date: Thu, 18 Oct 2007 19:54:53 +0000 (-0700) Subject: [IA64] check-segrel.lds vs --build-id X-Git-Tag: v2.6.24-rc2~74^2~6 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d650c37b2f8dbc5ac5055957617816eeb40ec79c;p=linux-2.6 [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 Signed-off-by: Tony Luck --- diff --git a/arch/ia64/scripts/check-segrel.lds b/arch/ia64/scripts/check-segrel.lds index 1c2f13e181..85a0d54fb5 100644 --- a/arch/ia64/scripts/check-segrel.lds +++ b/arch/ia64/scripts/check-segrel.lds @@ -1,6 +1,7 @@ SECTIONS { . = SIZEOF_HEADERS; .rodata : { *(.rodata) } :ro + .note : { *(.note*) } . = 0xa0000; .data : { *(.data) } :dat /DISCARD/ : { *(*) }