Skip to contentSkip to conversation

Fix gnu-efi for gcc 3.3

PATCH Andreas Schwab 1 participant 1 message Sep 26, 2003

lore
Share & tools
lore
#0 lore raw

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.

gnuefi/elf_ia64_efi.lds +2 -3
@@ -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.

Signature · 4 lines
Andreas Schwab, SuSE Labs, [email protected]
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."