This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] ld -r: Don't merge with member of output section group
- From: Alan Modra <amodra at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Fri, 19 Jul 2019 17:12:02 +0930
- Subject: Re: [PATCH] ld -r: Don't merge with member of output section group
- References: <CAMe9rOrTX=EQhF07pD=m2re3nW2d6KmG9TvVWfjYitDw7bvs-Q@mail.gmail.com> <20190718124124.GA3303@bubble.grove.modra.org>
On Thu, Jul 18, 2019 at 10:11:24PM +0930, Alan Modra wrote:
> On Wed, Jul 17, 2019 at 01:20:04PM -0700, H.J. Lu wrote:
> > PR ld/24819
> > * emultempl/elf32.em (elf_orphan_compatible): Return FALSE for
> > member of output section group when doing a relocatable link.
> > * testsuite/ld-elf/pr24819.d: New file.
> > * testsuite/ld-elf/pr24819.s: Likewise.
>
> OK.
d30v-elf +FAIL: ld-elf/pr24819
dlx-elf +FAIL: ld-elf/pr24819
fr30-elf +FAIL: ld-elf/pr24819
frv-elf +FAIL: ld-elf/pr24819
ft32-elf +FAIL: ld-elf/pr24819
iq2000-elf +FAIL: ld-elf/pr24819
mn10200-elf +FAIL: ld-elf/pr24819
moxie-elf +FAIL: ld-elf/pr24819
msp430-elf +FAIL: ld-elf/pr24819
mt-elf +FAIL: ld-elf/pr24819
pj-elf +FAIL: ld-elf/pr24819
s12z-elf +FAIL: ld-elf/pr24819
xgate-elf +FAIL: ld-elf/pr24819
I'm going to commit the following after another test run.
PR 24819
* testsuite/ld-elf/pr24819.d: xfail for genelf targets.
diff --git a/ld/testsuite/ld-elf/pr24819.d b/ld/testsuite/ld-elf/pr24819.d
index 0a82b63c39..c97ef5fbac 100644
--- a/ld/testsuite/ld-elf/pr24819.d
+++ b/ld/testsuite/ld-elf/pr24819.d
@@ -1,5 +1,6 @@
#ld: -r
#readelf: -S --wide
+#xfail: [uses_genelf]
#...
\[[ 0-9]+\] \.data\.foo[ \t]+PROGBITS[ \t0-9a-f]+WAG .*
--
Alan Modra
Australia Development Lab, IBM