This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [RFC] gas: don't emit stray unversioned symbol when using ".symver x,x at v"
- From: Cary Coutant <ccoutant at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Mon, 27 Jul 2015 09:55:24 -0700
- Subject: Re: [RFC] gas: don't emit stray unversioned symbol when using ".symver x,x at v"
- Authentication-results: sourceware.org; auth=none
- References: <CAJimCsHGfV_SEYJ5Da_eY=fUVHaResiXDYT06snyKpBDnODk4A at mail dot gmail dot com> <CAMe9rOriVFh14eK4F+g76WUik0FuGp3y7TDAg4JvnO0mWcD0mw at mail dot gmail dot com>
> I think this patch is incorrect as shown by linker test regressions:
>
> FAIL: ELF symbol versioning
> FAIL: Indirect symbol 1a: : local symbol `foo' in tmpdir/indirect1b.o
> is referenced by DSO
> FAIL: Indirect symbol 1a: : final link failed: Bad value
> FAIL: Indirect symbol 1b: : local symbol `foo' in tmpdir/indirect1b.o
> is referenced by DSO
> FAIL: Indirect symbol 1b: : final link failed: Bad value
> FAIL: Run with libindirect3c.so 1
> FAIL: Run with libindirect3c.so 2
> FAIL: Run with libindirect3c.so 3
> FAIL: Run with libindirect3c.so 4
> FAIL: vers24a
> FAIL: vers24b
> FAIL: ELF symbol versioning
> FAIL: symver symver1
I'll take a look at these as well.
-cary