]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gas/ChangeLog
Fix tight loop on recursively-defined symbols
[thirdparty/binutils-gdb.git] / gas / ChangeLog
index 3a1f406fd8298675364554a701e052617585c87a..2a987616ecee5dde864bfea08bafc97fecb1cd38 100644 (file)
@@ -1,3 +1,16 @@
+2020-05-15  Alan Modra  <amodra@gmail.com>
+           Alex Coplan  <alex.coplan@arm.com>
+
+       * symbols.c (struct local_symbol): Update comment.
+       (resolve_symbol_value): For resolved symbols equated to other
+       symbols, verify that the referenced symbol is not a local_symbol
+       before accessing sy_value.  Don't leave symbol loops during
+       finalize_syms resolution.
+       * 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.
+
 2020-05-14  Nick Clifton  <nickc@redhat.com>
 
        * po/sv.po: Updated Swedish translation.