[Linux-ia64] Bug in linker script

From: Andreas Schwab <schwab_at_suse.de>
Date: 2002-02-21 02:34:27
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."
Received on Wed Feb 20 07:34:34 2002

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:07 EST