All of lore.kernel.org
 help / color / mirror / Atom feed
* Fix gnu-efi for gcc 3.3
@ 2003-09-26 18:54 Andreas Schwab
  0 siblings, 0 replies; only message in thread
From: Andreas Schwab @ 2003-09-26 18:54 UTC (permalink / raw)
  To: linux-ia64

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."

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-09-26 18:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-26 18:54 Fix gnu-efi for gcc 3.3 Andreas Schwab

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.