summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-04-05 23:18:02 +0000
committerMike Frysinger <vapier@gentoo.org>2005-04-05 23:18:02 +0000
commitc6d7d279b69fbfbfd8bfbd9303eb18e0411ac9cd (patch)
tree5d122545cded55967f76dfdf8eb7d2515c6455ca /sys-boot/gnu-efi/files
parentmake sure errors are detected properly when using -v #87835 (diff)
downloadhistorical-c6d7d279b69fbfbfd8bfbd9303eb18e0411ac9cd.tar.gz
historical-c6d7d279b69fbfbfd8bfbd9303eb18e0411ac9cd.tar.bz2
historical-c6d7d279b69fbfbfd8bfbd9303eb18e0411ac9cd.zip
Update the linker script with a patch from redhat which supports newer versions of binutils.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'sys-boot/gnu-efi/files')
-rw-r--r--sys-boot/gnu-efi/files/digest-gnu-efi-3.0a-r11
-rw-r--r--sys-boot/gnu-efi/files/gnu-efi-3.0a-lds-redhat.patch42
2 files changed, 43 insertions, 0 deletions
diff --git a/sys-boot/gnu-efi/files/digest-gnu-efi-3.0a-r1 b/sys-boot/gnu-efi/files/digest-gnu-efi-3.0a-r1
new file mode 100644
index 000000000000..c0e9f5fd2a56
--- /dev/null
+++ b/sys-boot/gnu-efi/files/digest-gnu-efi-3.0a-r1
@@ -0,0 +1 @@
+MD5 0f613e693cbc3f35ff1863ac23954baf gnu-efi-3.0a.tar.gz 119079
diff --git a/sys-boot/gnu-efi/files/gnu-efi-3.0a-lds-redhat.patch b/sys-boot/gnu-efi/files/gnu-efi-3.0a-lds-redhat.patch
new file mode 100644
index 000000000000..d47dc3a0d053
--- /dev/null
+++ b/sys-boot/gnu-efi/files/gnu-efi-3.0a-lds-redhat.patch
@@ -0,0 +1,42 @@
+Updated lds patch from redhat which works with newer binutils.
+
+http://bugs.gentoo.org/show_bug.cgi?id=79091
+
+--- gnuefi/elf_ia64_efi.lds
++++ gnuefi/elf_ia64_efi.lds
+@@ -28,6 +28,5 @@
+ {
+ *(.rodata*)
+ *(.ctors)
+- *(.data)
+- *(.data1)
++ *(.data*)
+ *(.gnu.linkonce.d*)
+@@ -31,8 +31,4 @@ SECTIONS
+ *(.plabel) /* data whose relocs we want to ignore */
+- *(.IA_64.unwind)
+- *(.IA_64.unwind_info)
+- *(.IA64.unwind)
+- *(.IA64.unwind_info)
+ /* the EFI loader doesn't seem to like a .bss section, so we stick
+ it all into .data: */
+ *(.dynbss)
+@@ -48,7 +47,7 @@
+ .rela :
+ {
+ *(.rela.text)
+- *(.rela.data)
++ *(.rela.data*)
+ *(.rela.sdata)
+ *(.rela.got)
+ *(.rela.gnu.linkonce.d*)
+@@ -68,4 +64,9 @@ SECTIONS
+ *(.rela.plabel)
+ *(.rela.reloc)
+ }
++ /DISCARD/ :
++ {
++ *(.IA_64.unwind*)
++ *(.IA64.unwind*)
++ }
+ }