diff --git a/gas/ChangeLog b/gas/ChangeLog index 1478cdfd233..19245ec4e20 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2017-03-02 Kuan-Lin Chen + + * config/tc-riscv.h (HWARD2_USE_FIXED_ADVANCE_PC): New define. + 2017-03-02 Kuan-Lin Chen * config/tc-riscv.c (md_apply_fix): Set fx_frag and diff --git a/gas/config/tc-riscv.h b/gas/config/tc-riscv.h index ae8d60eb212..e92b3879a96 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 */