aboutsummaryrefslogtreecommitdiff
path: root/gas/ChangeLog
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2021-04-06 10:56:30 +0200
committerJan Beulich <jbeulich@suse.com>2021-04-06 10:56:30 +0200
commitda0835aebea71232f6b4fb4dea3ee18bdef0c139 (patch)
tree2313316a06212ece07aa8c89e12311528315519d /gas/ChangeLog
parentbd3d1480a80effbbf3eedf1bd51368730ec9078d (diff)
downloadgdb-da0835aebea71232f6b4fb4dea3ee18bdef0c139.zip
gdb-da0835aebea71232f6b4fb4dea3ee18bdef0c139.tar.gz
gdb-da0835aebea71232f6b4fb4dea3ee18bdef0c139.tar.bz2
gas: missing (re-)initialization of local variable in fixup_segment()
At the very least this has been causing bogus diagnostics, e.g. .text .data .long .bss - . .long -.text .bss yielding Error: can't resolve `0' {.bss section} - `.text' {.text section} instead of Error: can't resolve `0' {*ABS* section} - `.text' {.text section} In particular for targets overriding any of TC_FORCE_RELOCATION_* & Co or for ones setting md_register_arithmetic to true the problems may be worse.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r--gas/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index cd2abaf..8558a87 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2021-04-06 Jan Beulich <jbeulich@suse.com>
+
+ * write.c (fixup_segment): Move add_symbol_segment declaration
+ into main loop.
+
2021-04-05 Alan Modra <amodra@gmail.com>
* configure.ac: Don't check for string.h, strings.h, stdlib.h,