aboutsummaryrefslogtreecommitdiff
path: root/ldscripts
diff options
context:
space:
mode:
authorNishanth Aravamudan <nacc@us.ibm.com>2007-10-30 16:43:46 -0500
committerNishanth Aravamudan <nacc@us.ibm.com>2007-11-30 10:15:28 -0800
commitef1d8f7316f6d8214ef182bb5fed489fb377606e (patch)
tree4d831eaec9b94f798094c50a76929a4813809611 /ldscripts
parent11501b437cbb2c648d25fdda788d21d21835e6ac (diff)
downloadlibhugetlbfs-ef1d8f7316f6d8214ef182bb5fed489fb377606e.tar.gz
ldscripts: Place 32bit BDT PLT in BSS for PPC
The PLT belongs in the BSS and the standard scripts do it this way. We were getting bad BSS padding for programs with a large BSS. Signed-off-by: Steve Fox <drfickle@linux.vnet.ibm.com> Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Diffstat (limited to 'ldscripts')
-rw-r--r--ldscripts/elf32ppclinux.xBDT10
1 files changed, 5 insertions, 5 deletions
diff --git a/ldscripts/elf32ppclinux.xBDT b/ldscripts/elf32ppclinux.xBDT
index c4d9518..89c70cb 100644
--- a/ldscripts/elf32ppclinux.xBDT
+++ b/ldscripts/elf32ppclinux.xBDT
@@ -165,11 +165,6 @@ SECTIONS
.dynamic : { *(.dynamic) } :dynamic :hdata
.got : { *(.got.plt .got) } :hdata
/* . = DATA_SEGMENT_RELRO_END (0, .); */
- .plt : { *(.plt) } :hdata
- /* Rather than emit LONG(0) in the .plt section, use a symbol to mark
- * the end of the need-to-copy data so that it will be copied during
- * hugetlb remapping */
- __libhuge_filesz = .;
.data :
{
*(.data .data.* .gnu.linkonce.d.*)
@@ -195,6 +190,11 @@ SECTIONS
*(.scommon)
PROVIDE (__sbss_end = .); PROVIDE (___sbss_end = .);
} :hdata
+ .plt : { *(.plt) } :hdata
+ /* Rather than emit LONG(0) in the .plt section, use a symbol to mark
+ * the end of the need-to-copy data so that it will be copied during
+ * hugetlb remapping */
+ __libhuge_filesz = .;
.bss :
{
*(.dynbss)