All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ia64: check-segrel.lds vs --build-id
@ 2007-10-18 19:54 ` Roland McGrath
  0 siblings, 0 replies; 6+ messages in thread
From: Roland McGrath @ 2007-10-18 19:54 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Doug Chapman

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] 6+ messages in thread

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

Thread overview: 6+ 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-18 19:54 ` Roland McGrath
2007-10-19 10:33 ` Denys Vlasenko
2007-10-19 10:33   ` Denys Vlasenko
2007-10-25 16:10 ` Doug Chapman
2007-10-25 16:10   ` Doug Chapman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.