aboutsummaryrefslogtreecommitdiff
path: root/ldscripts
diff options
context:
space:
mode:
authorEric B Munson <ebmunson@us.ibm.com>2008-11-25 18:34:42 +0000
committerEric B Munson <ebmunson@us.ibm.com>2008-11-25 21:23:17 +0000
commitcc32d7af7dc9ba5df10a5b2d2017740d0328657e (patch)
treeca97b28d3bab2eb968ba0007d6b95f69f00ae6bc /ldscripts
parentc861b6396af66ae8cb7379191f20cacef014e80f (diff)
downloadlibhugetlbfs-cc32d7af7dc9ba5df10a5b2d2017740d0328657e.tar.gz
Update SECTIONS from linker scripts for binutils 2.19 compatibility2.1-pre5
When building the linker script tests on SLES 11, the resulting executable had an invalid size for the interp section. This is dues to a new section that was not present in the old script. This patch adds this section to all of the linker scripts. Credit goes to Alan Modra for identifying what change needed to be made Signed-off-by: Eric B Munson <ebmunson@us.ibm.com> Acked-by: Adam Litke <agl@us.ibm.com>
Diffstat (limited to 'ldscripts')
-rw-r--r--ldscripts/elf32ppclinux.xB1
-rw-r--r--ldscripts/elf32ppclinux.xBDT1
-rw-r--r--ldscripts/elf64ppc.xB1
-rw-r--r--ldscripts/elf64ppc.xBDT1
-rw-r--r--ldscripts/elf_i386.xB1
-rw-r--r--ldscripts/elf_i386.xBDT1
-rw-r--r--ldscripts/elf_x86_64.xB1
-rw-r--r--ldscripts/elf_x86_64.xBDT1
8 files changed, 8 insertions, 0 deletions
diff --git a/ldscripts/elf32ppclinux.xB b/ldscripts/elf32ppclinux.xB
index bf96081..28ad88d 100644
--- a/ldscripts/elf32ppclinux.xB
+++ b/ldscripts/elf32ppclinux.xB
@@ -27,6 +27,7 @@ SECTIONS
.interp : { *(.interp) } :text :interp
.note.SuSE : { *(.note.SuSE) } :text :note
.note.ABI-tag : { *(.note.ABI-tag) } :text :note
+ .note.gnu.build-id : { *(.note.gnu.build-id) } :text :note
.hash : { *(.hash) } :text
.dynsym : { *(.dynsym) } :text
.dynstr : { *(.dynstr) } :text
diff --git a/ldscripts/elf32ppclinux.xBDT b/ldscripts/elf32ppclinux.xBDT
index 68ddebf..497882b 100644
--- a/ldscripts/elf32ppclinux.xBDT
+++ b/ldscripts/elf32ppclinux.xBDT
@@ -26,6 +26,7 @@ SECTIONS
.interp : { *(.interp) } :htext :interp
.note.SuSE : { *(.note.SuSE) } :htext :note
.note.ABI-tag : { *(.note.ABI-tag) } :htext :note
+ .note.gnu.build-id : { *(.note.gnu.build-id) } :htext :note
.hash : { *(.hash) } :htext
.dynsym : { *(.dynsym) } :htext
.dynstr : { *(.dynstr) } :htext
diff --git a/ldscripts/elf64ppc.xB b/ldscripts/elf64ppc.xB
index b05915b..1a9c1ab 100644
--- a/ldscripts/elf64ppc.xB
+++ b/ldscripts/elf64ppc.xB
@@ -26,6 +26,7 @@ SECTIONS
.interp : { *(.interp) } :text :interp
.note.SuSE : { *(.note.SuSE) } :text :note
.note.ABI-tag : { *(.note.ABI-tag) } :text :note
+ .note.gnu.build-id : { *(.note.gnu.build-id) } :text :note
.hash : { *(.hash) } :text
.dynsym : { *(.dynsym) }
.dynstr : { *(.dynstr) }
diff --git a/ldscripts/elf64ppc.xBDT b/ldscripts/elf64ppc.xBDT
index dbc4847..5477294 100644
--- a/ldscripts/elf64ppc.xBDT
+++ b/ldscripts/elf64ppc.xBDT
@@ -25,6 +25,7 @@ SECTIONS
.interp : { *(.interp) } :interp :htext
.note.SuSE : { *(.note.SuSE) } :htext :note
.note.ABI-tag : { *(.note.ABI-tag) } :htext :note
+ .note.gnu.build-id : { *(.note.gnu.build-id) } :htext :note
.hash : { *(.hash) } :htext
.dynsym : { *(.dynsym) } :htext
.dynstr : { *(.dynstr) } :htext
diff --git a/ldscripts/elf_i386.xB b/ldscripts/elf_i386.xB
index 547c956..43fe51c 100644
--- a/ldscripts/elf_i386.xB
+++ b/ldscripts/elf_i386.xB
@@ -29,6 +29,7 @@ SECTIONS
.interp : { *(.interp) } :text :interp
.note.SuSE : { *(.note.SuSE) } :text :note
.note.ABI-tag : { *(.note.ABI-tag) } :text :note
+ .note.gnu.build-id : { *(.note.gnu.build-id) } :text :note
.hash : { *(.hash) } :text
.dynsym : { *(.dynsym) }
.dynstr : { *(.dynstr) }
diff --git a/ldscripts/elf_i386.xBDT b/ldscripts/elf_i386.xBDT
index 8b438cd..d72aebe 100644
--- a/ldscripts/elf_i386.xBDT
+++ b/ldscripts/elf_i386.xBDT
@@ -30,6 +30,7 @@ SECTIONS
.interp : { *(.interp) } :htext :interp
.note.SuSE : { *(.note.SuSE) } :htext :note
.note.ABI-tag : { *(.note.ABI-tag) } :htext :note
+ .note.gnu.build-id : { *(.note.gnu.build-id) } :htext :note
.hash : { *(.hash) } :htext
.dynsym : { *(.dynsym) } :htext
.dynstr : { *(.dynstr) } :htext
diff --git a/ldscripts/elf_x86_64.xB b/ldscripts/elf_x86_64.xB
index 3310e51..ed21a2c 100644
--- a/ldscripts/elf_x86_64.xB
+++ b/ldscripts/elf_x86_64.xB
@@ -29,6 +29,7 @@ SECTIONS
.interp : { *(.interp) } :text :interp
.note.SuSE : { *(.note.SuSE) } :text :note
.note.ABI-tag : { *(.note.ABI-tag) } :text :note
+ .note.gnu.build-id : { *(.note.gnu.build-id) } :text :note
.hash : { *(.hash) } :text
.dynsym : { *(.dynsym) } :text
.dynstr : { *(.dynstr) } :text
diff --git a/ldscripts/elf_x86_64.xBDT b/ldscripts/elf_x86_64.xBDT
index 80fe1e6..1855202 100644
--- a/ldscripts/elf_x86_64.xBDT
+++ b/ldscripts/elf_x86_64.xBDT
@@ -31,6 +31,7 @@ SECTIONS
.hash : { *(.hash) } :htext
.note.SuSE : { *(.note.SuSE) } :htext :note
.note.ABI-tag : { *(.note.ABI-tag) } :htext :note
+ .note.gnu.build-id : { *(.note.gnu.build-id) } :htext :note
.dynsym : { *(.dynsym) } :htext
.dynstr : { *(.dynstr) } :htext
.gnu.version : { *(.gnu.version) } :htext