Bug in linker script
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.
arch/ia64/vmlinux.lds.S renamed from arch/ia64/vmlinux.lds.S.~1~ +2 -0
@@ -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... */
Signature · 4 lines
Andreas Schwab, SuSE Labs, [email protected] 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."
Quoted 10 lines · Andreas Schwab
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.
arch/ia64/vmlinux.lds.S line 19
Quoted 7 lines
arch/ia64/vmlinux.lds.S renamed from arch/ia64/vmlinux.lds.S.~1~ +2
-0@@ -13,6 +13,8 @@ *(.text.exit) *(.data.exit) *(.exitcall.exit) + *(.IA_64.unwind.text.exit) + *(.IA_64.unwind_info.text.exit) }
One *(*.text.exit) line would be better - untested.