PATCH bfd: Fix linker warning for recently introduced arm attributes

Alan Modra amodra@gmail.com
Wed Oct 6 00:03:05 GMT 2021


On Mon, Oct 04, 2021 at 10:49:58PM -0400, Simon Marchi via Binutils wrote:
> On 2021-09-27 10:40, Andrea Corallo wrote:> Hi all,
> > 
> > this simple patch updates the value of 'NUM_KNOWN_OBJ_ATTRIBUTES' so
> > that when linking objects with 'Tag_BTI_use' or 'Tag_PACRET_use' set ld
> > does not emit the "unknown EABI object attribute" warning.
> > 
> > Regtested clean, okay for trunk?
> > 
> > Best Regards
> > 
> >   Andrea
> > 
> Hi Andrea,
> 
> I get some GDB failures starting with this commit.  To run:
> 
> gdb/ $ make check TESTS="gdb.cp/ambiguous.exp"
> 
> And in gdb.log:
> 
>     49 (gdb) file /home/simark/build/binutils-gdb/gdb/testsuite/outputs/gdb.cp/ambiguous/ambiguous^M
>     50 BFD: BFD (GNU Binutils) 2.37.50.20210924 assertion fail /home/simark/src/binutils-gdb/bfd/elf.c:240^M

Dependency problem?  I can't see that assert being hit unless you have
stale bfd object files.

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list