Fix gnu-efi for gcc 3.3

From: Andreas Schwab <schwab_at_suse.de>
Date: 2003-09-27 04:54:16
gcc 3.3 may generate sections named .data.rel and .data.rel.local, but the
linker script included in gnu-efi 3.0a didn't account for them.

--- gnu-efi-3.0a/gnuefi/elf_ia64_efi.lds
+++ gnu-efi-3.0a/gnuefi/elf_ia64_efi.lds
@@ -28,8 +28,7 @@
   {
    *(.rodata*)
    *(.ctors)
-   *(.data)
-   *(.data1)
+   *(.data*)
    *(.gnu.linkonce.d*)
    *(.plabel)	/* data whose relocs we want to ignore */
    *(.IA_64.unwind)
@@ -48,7 +47,7 @@
   .rela :
   {
     *(.rela.text)
-    *(.rela.data)
+    *(.rela.data*)
     *(.rela.sdata)
     *(.rela.got)
     *(.rela.gnu.linkonce.d*)

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, 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."
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Sep 26 15:00:12 2003

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