https://sourceware.org/bugzilla/show_bug.cgi?id=27590

--- Comment #17 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jan Beulich <[email protected]>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f463751648d92d817c3d1420d908f2c59e5ef088

commit f463751648d92d817c3d1420d908f2c59e5ef088
Author: Jan Beulich <[email protected]>
Date:   Fri Jan 9 08:39:14 2026 +0100

    ld/ELF: suppress note section rearrangement for relocatable linking

    Input sections would generally best retain their order from in the
    input(s) or relocatable links. In particular the (odd) sorting of note
    sections by alignment is entirely unnecessary there, and could potentially
    even be harmful. Simply accumulate orphan sections in the order observed.

    Of course this has an effect on section order, so a few testsuite
    adjustments are necessary. The test for PR ld/27590 is being relaxed, as
    it's no clear why sh_link fields would need to have exact expectations
    when at the same time section numbers aren't matched. (Obviously the .rela
    sections should match their corresponding data sections', but afaict this
    cannot be [easily] expressed.) Xstormy16 XFAILs for a few tests can be
    dropped as the sections of interest there are orphan ones, and hence now
    are placed independent of the linker scripts unusual placing of .data
    ahead of .text.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to