aboutsummaryrefslogtreecommitdiff
path: root/gas/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-01-24 12:39:07 +1030
committerAlan Modra <amodra@gmail.com>2021-01-24 16:16:45 +1030
commit68fcee4fa753f6488c9f90610da2f5a5a95d5a1f (patch)
treedde0d2abe5b60a28107eb4935c56b5af03b6c394 /gas/ChangeLog
parentb10bae18753862874628f902796eb1cd3925f95d (diff)
downloadgdb-68fcee4fa753f6488c9f90610da2f5a5a95d5a1f.zip
gdb-68fcee4fa753f6488c9f90610da2f5a5a95d5a1f.tar.gz
gdb-68fcee4fa753f6488c9f90610da2f5a5a95d5a1f.tar.bz2
PR27228, .reloc wrong symbol emitted for undefined local symbol
Local symbols are of course supposed to be defined by their object file, but in other cases a local symbol is promoted to global by gas if undefined and referenced. This patch stops gas wrongly replacing a local undefined symbol with the undefined section symbol, resulting in a .reloc undefined local symbol being emitted as global. PR 27228 * write.c (resolve_reloc_expr_symbols): Don't assume local symbol is defined.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r--gas/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 7418531..4ac2987 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2021-01-24 Alan Modra <amodra@gmail.com>
+
+ PR 27228
+ * write.c (resolve_reloc_expr_symbols): Don't assume local symbol
+ is defined.
+
2021-01-21 Alan Modra <amodra@gmail.com>
PR 27221