diff options
author | Andrew Waterman <andrew@sifive.com> | 2016-12-21 12:47:13 -0800 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2017-01-09 09:18:36 -0800 |
commit | e294484ee7e8dea53d091443a0f24c7939ac15ed (patch) | |
tree | e9c7cc778f2ea32840305b3ebe06254ca1634771 /gas/ChangeLog | |
parent | 6ec11ab97ab47ec4a22118e5b1c77df567796002 (diff) | |
download | gdb-e294484ee7e8dea53d091443a0f24c7939ac15ed.zip gdb-e294484ee7e8dea53d091443a0f24c7939ac15ed.tar.gz gdb-e294484ee7e8dea53d091443a0f24c7939ac15ed.tar.bz2 |
RISC-V/GAS: Improve handling of invalid relocs
TLS relocs against constants previously segfaulted, and illegal
symbol subtractions were silently ignored.
The previous behavior was to segfault.
gas/ChangeLog
2017-01-09 Andrew Waterman <andrew@sifive.com>
* config/tc-riscv.c (md_apply_fix): Report TLS relocations against
constants. Report disallowed symbol subtractions.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 88f68a1..4de9cf7 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2017-01-09 Andrew Waterman <andrew@sifive.com> + + * config/tc-riscv.c (append_insn): Don't eagerly apply relocations + against constants. + (md_apply_fix): Mark relocations against constants as "done." + 2017-01-09 Palmer Dabbelt <palmer@dabbelt.com> Kito Cheng <kito.cheng@gmail.com> |