GNU Binutils with patches for OS216
修訂 | d47c3ff7d55122befac848fe64b7445789c78787 (tree) |
---|---|
時間 | 2017-03-15 01:51:29 |
作者 | Kuan-Lin Chen <rufus@ande...> |
Commiter | Palmer Dabbelt |
RISC-V: Define DWARF2_USE_FIXED_ADVANCE_PC.
gas/ChangeLog
2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
@@ -1,5 +1,9 @@ | ||
1 | 1 | 2017-03-02 Kuan-Lin Chen <rufus@andestech.com> |
2 | 2 | |
3 | + * config/tc-riscv.h (HWARD2_USE_FIXED_ADVANCE_PC): New define. | |
4 | + | |
5 | +2017-03-02 Kuan-Lin Chen <rufus@andestech.com> | |
6 | + | |
3 | 7 | * config/tc-riscv.c (md_apply_fix): Set fx_frag and |
4 | 8 | fx_next->fx_frag for CFA_advance_loc relocations. |
5 | 9 |
@@ -112,4 +112,7 @@ extern int tc_riscv_regname_to_dw2regnum (char *); | ||
112 | 112 | #define elf_tc_final_processing riscv_elf_final_processing |
113 | 113 | extern void riscv_elf_final_processing (void); |
114 | 114 | |
115 | +/* Adjust debug_line after relaxation. */ | |
116 | +#define DWARF2_USE_FIXED_ADVANCE_PC 1 | |
117 | + | |
115 | 118 | #endif /* TC_RISCV */ |