Rework RISC-V relocations
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 36f1c2fb573aa3e4af7d1c0d3952873d88a0cb01..0e652b13469fcd0c8b69821ab70d500525951f14 100644 (file)
@@ -1,3 +1,22 @@
+2016-12-20  Andrew Waterman  <andrew@sifive.com>
+           Kuan-Lin Chen  <kuanlinchentw@gmail.com>
+
+       * config/tc-riscv.c (riscv_set_options): Add relax.
+       (riscv_opts): Likewise.
+       (s_riscv_option): Add relax and norelax.
+       (riscv_apply_const_reloc): New function.
+       (append_insn): Move constant relocation handling to
+       riscv_apply_const_reloc.
+       (md_pcrel_from): Likewise.
+       (parse_relocation): Skip BFD_RELOC_UNUSED.
+       (md_pcrel_from): Handle BFD_RELOC_RISCV_SUB6,
+       BFD_RELOC_RISCV_RELAX, BFD_RELOC_RISCV_CFA.
+       (md_apply_fix): Likewise.
+       (riscv_pre_output_hook): New function.
+       * config/tc-riscv.h (md_pre_output_hook): Define.
+       (riscv_pre_output_hook): Declare.
+       (DWARF_CIE_DATA_ALIGNMENT): Always -4.
+
 2016-12-20  Andrew Waterman  <andrew@sifive.com>
 
        * config/tc-riscv.c: Formatting and comment fixes throughout.
This page took 0.023363 seconds and 4 git commands to generate.