[PATCH] [GAS] Fix tight loop on recursively-defined symbols
Alan Modra
amodra@gmail.com
Fri May 15 00:35:22 GMT 2020
On Thu, May 14, 2020 at 02:28:00PM +0000, Alex Coplan wrote:
> 2020-05-14 Alex Coplan <alex.coplan@arm.com>
> * symbols.c (resolve_symbol_value): Fix symbol definition loop
> detection, don't spin.
> * testsuite/gas/all/assign-bad-recursive.d: New test.
> * testsuite/gas/all/assign-bad-recursive.l: Error output for test.
> * testsuite/gas/all/assign-bad-recursive.s: Assembly for test.
> * testsuite/gas/all/gas.exp: Run it.
Thanks, that looks good. I'll run a test over a wider set of targets
then commit it for you, with any tweaks needed for the new test.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list