public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ia64: check-segrel.lds vs --build-id
@ 2007-10-18 19:54 Roland McGrath
  2007-10-19 10:33 ` Denys Vlasenko
  2007-10-25 16:10 ` Doug Chapman
  0 siblings, 2 replies; 3+ messages in thread
From: Roland McGrath @ 2007-10-18 19:54 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Doug Chapman, linux-kernel, linux-ia64

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>

--- 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/ : { *(*) }


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-10-25 16:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-18 19:54 [PATCH] ia64: check-segrel.lds vs --build-id Roland McGrath
2007-10-19 10:33 ` Denys Vlasenko
2007-10-25 16:10 ` Doug Chapman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox