[PATCH] gas: Fix internal error in S_SET_SEGMENT

Alex Coplan Alex.Coplan@arm.com
Tue Sep 1 15:47:44 GMT 2020
> -----Original Message-----
> From: Binutils <binutils-bounces@sourceware.org> On Behalf Of Alex Coplan
> Sent: 17 August 2020 14:29
> To: nickc@redhat.com; H.J. Lu <hjl.tools@gmail.com>
> Cc: Binutils <binutils@sourceware.org>
> Subject: RE: [PATCH] gas: Fix internal error in S_SET_SEGMENT
> 
> Hi Nick,
> 
> > -----Original Message-----
> > From: Nick Clifton <nickc@redhat.com>
> > Sent: 17 August 2020 12:26
> > To: Alex Coplan <Alex.Coplan@arm.com>; H.J. Lu <hjl.tools@gmail.com>
> > Cc: Binutils <binutils@sourceware.org>
> > Subject: Re: [PATCH] gas: Fix internal error in S_SET_SEGMENT
> >
> > Hi Alex,
> >
> > > Ping.
> >
> > Oops - sorry.
> >
> > >> 2020-08-03  Alex Coplan  <alex.coplan@arm.com>
> > >>
> > >> 	* config/obj-elf.c (obj_elf_change_section): When repurposing an
> > >> 	existing symbol, ensure that we set sy_value as per other (fresh)
> > >> 	section symbols.
> > >> 	* testsuite/gas/elf/elf.exp: Add new test.
> > >> 	* testsuite/gas/elf/section-symbol-redef.d: New test.
> > >> 	* testsuite/gas/elf/section-symbol-redef.s: Input for test.
> >
> > Approved - please apply.
> 
> Committed with one obvious change [...]

This applies and tests cleanly on the 2.35 branch. OK to backport?

Thanks,
Alex


More information about the Binutils mailing list