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: [email protected]

        ReportedBy: [email protected]

                CC: [email protected]

    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.

_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to