[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/14676] New: script orphan .rela ordering problem
From: |
amodra at gmail dot com |
Subject: |
[Bug gold/14676] New: script orphan .rela ordering problem |
Date: |
Fri, 05 Oct 2012 13:49:15 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=14676
Bug #: 14676
Summary: script orphan .rela ordering problem
Product: binutils
Version: 2.24 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: gold
AssignedTo: address@hidden
ReportedBy: address@hidden
CC: address@hidden
Classification: Unclassified
Found when building ifuncmod1.so and other ifunc shared objects in the glibc
testsuite. These files are built using -T shlib.lds, an edited version of the
GNU ld default scripts. On powerpc this resulted in .rela.plt being placed
before .rela.dyn, a problem since powerpc32 DT_RELASZ includes both .rela.dyn
and .rela.plt size, and .rela.dyn must come first.
The GNU ld default scripts include numerous input .rela sections in the output
section statement for .rela.dyn, but .rela.dyn is not one of those input .rela
sections. So .rela.dyn created by Target_powerpc::rela_dyn_section is seen to
be an orphan, and unfortunately placed after .rela.plt.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug gold/14676] New: script orphan .rela ordering problem,
amodra at gmail dot com <=