diff options
author | Andrew Waterman <andrew@sifive.com> | 2016-12-21 18:05:28 -0800 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2017-01-09 09:20:05 -0800 |
commit | a5ec5e3fe1b8fe1395c79ff29052edad91266a76 (patch) | |
tree | 88733553071df8c89c24eb6121be64d20fa30496 /gas/ChangeLog | |
parent | e294484ee7e8dea53d091443a0f24c7939ac15ed (diff) | |
download | gdb-a5ec5e3fe1b8fe1395c79ff29052edad91266a76.zip gdb-a5ec5e3fe1b8fe1395c79ff29052edad91266a76.tar.gz gdb-a5ec5e3fe1b8fe1395c79ff29052edad91266a76.tar.bz2 |
RISC-V/GAS: Support more relocs against constant addresses
Previously, some pseudoinstructions like "call" only accepted
symbolic addresses and rejected constant addresses with an
esoteric internal error. This patch enables them by deferring
application of constant relocations to md_apply_fix, rather than
eagerly applying them during instruction assembly.
gas/ChangeLog
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."
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 4de9cf7..0fab5fb 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -4,6 +4,12 @@ against constants. (md_apply_fix): Mark relocations against constants as "done." +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> |