RISC-V: Eliminate spurious error w/ reloc truncated message
authorJim Wilson <jimw@sifive.com>
Wed, 7 Feb 2018 00:53:00 +0000 (16:53 -0800)
committerJim Wilson <jimw@sifive.com>
Wed, 7 Feb 2018 00:53:41 +0000 (16:53 -0800)
bfd/
* elfnn-riscv.c (riscv_elf_relocate_section): Return TRUE if used
callback to report an error.

bfd/ChangeLog
bfd/elfnn-riscv.c

index 56c3feb65b72768a2f637975bfaf40feaab9022f..4a4167cce5bd32dc72e4bf666372591a0306a0b1 100644 (file)
@@ -1,3 +1,8 @@
+2018-02-06  Jim Wilson  <jimw@sifive.com>
+
+       * elfnn-riscv.c (riscv_elf_relocate_section): Return TRUE if used
+       callback to report an error.
+
 2018-02-06  Eric Botcazou  <ebotcazou@adacore.com>
 
        PR ld/22263
index 3524fede0f7ffdec982514766663616631598558..a37f4aac7614bafa2f28f2b91f190ab508528fd2 100644 (file)
@@ -2253,6 +2253,7 @@ riscv_elf_relocate_section (bfd *output_bfd,
       if (msg)
        info->callbacks->warning
          (info, msg, name, input_bfd, input_section, rel->r_offset);
+      ret = TRUE;
       goto out;
     }
 
This page took 0.026574 seconds and 4 git commands to generate.