https://sourceware.org/bugzilla/show_bug.cgi?id=30791
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Target Milestone|--- |2.42 Version|unspecified |2.41 Resolution|--- |FIXED --- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> --- https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=68a2d9bf874643da970fe945a9c60c397f6882ad commit 68a2d9bf874643da970fe945a9c60c397f6882ad Author: H.J. Lu <hjl.to...@gmail.com> Date: Wed Aug 30 10:24:56 2023 -0700 elf: Don't merge sections with different SHF_LINK_ORDER For relocatable link, don't merge 2 SHF_LINK_ORDER sections if output sections of their linked to sections are different. * ldelf.c (elf_orphan_compatible): Don't merge sections with different SHF_LINK_ORDER. * testsuite/ld-elf/pr30791a.d: New file. * testsuite/ld-elf/pr30791a.s: Likewise. * testsuite/ld-elf/pr30791b.d: Likewise. * testsuite/ld-elf/pr30791b.s: Likewise. * testsuite/ld-elf/pr30791c.s: Likewise. * testsuite/ld-elf/pr30791d.s: Likewise. -- You are receiving this mail because: You are on the CC list for the bug.