diff options
author | Jan Beulich <jbeulich@suse.com> | 2021-04-06 10:56:30 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2021-04-06 10:56:30 +0200 |
commit | da0835aebea71232f6b4fb4dea3ee18bdef0c139 (patch) | |
tree | 2313316a06212ece07aa8c89e12311528315519d /gas/testsuite | |
parent | bd3d1480a80effbbf3eedf1bd51368730ec9078d (diff) | |
download | binutils-da0835aebea71232f6b4fb4dea3ee18bdef0c139.zip binutils-da0835aebea71232f6b4fb4dea3ee18bdef0c139.tar.gz binutils-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/testsuite')
0 files changed, 0 insertions, 0 deletions