public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] Bug in linker script
@ 2002-02-20 15:34 Andreas Schwab
  2002-02-20 23:06 ` Keith Owens
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Schwab @ 2002-02-20 15:34 UTC (permalink / raw)
  To: linux-ia64

The linker script for linking vmlinux is discarding the .text.exit
section, but not the corresponding .IA64_unwind.text.exit and
.IA64_unwind_info.text.exit sections.  This can cause dangling relocations
when compiling with gcc3.

Andreas.

--- linux/arch/ia64/vmlinux.lds.S.~1~	Tue Jul 31 19:30:09 2001
+++ linux/arch/ia64/vmlinux.lds.S	Tue Feb 19 15:34:49 2002
@@ -13,6 +13,8 @@
 	*(.text.exit)
 	*(.data.exit)
 	*(.exitcall.exit)
+	*(.IA_64.unwind.text.exit)
+	*(.IA_64.unwind_info.text.exit)
 	}
 
   v = PAGE_OFFSET;	/* this symbol is here to make debugging easier... */

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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

end of thread, other threads:[~2002-02-20 23:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-20 15:34 [Linux-ia64] Bug in linker script Andreas Schwab
2002-02-20 23:06 ` Keith Owens

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