diff options
author | Kuan-Lin Chen <rufus@andestech.com> | 2017-03-02 14:54:32 +0800 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2017-03-14 09:51:29 -0700 |
commit | d47c3ff7d55122befac848fe64b7445789c78787 (patch) | |
tree | a213d76cc4b2a123a1aea43c3639a6ec1085dfc8 /gas | |
parent | 2aece2ba02457e83fd2a780a8ac596b6a90adf29 (diff) | |
download | gdb-d47c3ff7d55122befac848fe64b7445789c78787.zip gdb-d47c3ff7d55122befac848fe64b7445789c78787.tar.gz gdb-d47c3ff7d55122befac848fe64b7445789c78787.tar.bz2 |
RISC-V: Define DWARF2_USE_FIXED_ADVANCE_PC.
gas/ChangeLog
2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
* config/tc-riscv.h (HWARD2_USE_FIXED_ADVANCE_PC): New define.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-riscv.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 1478cdf..19245ec 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,9 @@ 2017-03-02 Kuan-Lin Chen <rufus@andestech.com> + * config/tc-riscv.h (HWARD2_USE_FIXED_ADVANCE_PC): New define. + +2017-03-02 Kuan-Lin Chen <rufus@andestech.com> + * config/tc-riscv.c (md_apply_fix): Set fx_frag and fx_next->fx_frag for CFA_advance_loc relocations. diff --git a/gas/config/tc-riscv.h b/gas/config/tc-riscv.h index ae8d60e..e92b387 100644 --- a/gas/config/tc-riscv.h +++ b/gas/config/tc-riscv.h @@ -112,4 +112,7 @@ extern int tc_riscv_regname_to_dw2regnum (char *); #define elf_tc_final_processing riscv_elf_final_processing extern void riscv_elf_final_processing (void); +/* Adjust debug_line after relaxation. */ +#define DWARF2_USE_FIXED_ADVANCE_PC 1 + #endif /* TC_RISCV */ |