RISC-V: Only relax to C.LUI when imm != 0 and rd != 0/2
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index a534b216af1aea5dc248bd3373419441a4ac9a79..6f2f5e3f168e4cded12d7ce54fbfd5dd275539e3 100644 (file)
@@ -1,3 +1,8 @@
+2017-10-24  Andrew Waterman  <andrew@sifive.com>
+
+       * elfnn-riscv.c (_bfd_riscv_relax_lui): Don't relax to c.lui
+       when rd is x0.
+
 2017-10-24  Renlin Li  <renlin.li@arm.com>
 
        PR ld/21703
This page took 0.036618 seconds and 4 git commands to generate.