[PATCH] gas: Fix internal error on long local labels

Alex Coplan Alex.Coplan@arm.com
Thu Aug 6 16:48:20 GMT 2020


> -----Original Message-----
> From: Alan Modra <amodra@gmail.com>
> Sent: 06 August 2020 14:56
> To: Alex Coplan <Alex.Coplan@arm.com>
> Cc: binutils@sourceware.org
> Subject: Re: [PATCH] gas: Fix internal error on long local labels
> 
> On Wed, Aug 05, 2020 at 02:51:05PM +0100, Alex Coplan wrote:
> > 	* read.c (read_a_source_file): Use long for local labels, detect
> > 	overflow and raise an error for overly-long labels.
> > 	* testsuite/gas/all/gas.exp: Add local-label-overflow test.
> > 	* testsuite/gas/all/local-label-overflow.d: New test.
> > 	* testsuite/gas/all/local-label-overflow.l: Error output.
> > 	* testsuite/gas/all/local-label-overflow.s: Input.
> 
> OK, but fix the following nits please.

Thanks. Pushed to master with nits fixed as
d27aad4ec307d91a6b9056127c6c248044391d7f.

Is it worth backporting?

Alex


More information about the Binutils mailing list