* elf32-vax.c (elf_vax_relocate_section)
authorMaciej W. Rozycki <macro@linux-mips.org>
Sat, 19 May 2012 19:27:01 +0000 (19:27 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Sat, 19 May 2012 19:27:01 +0000 (19:27 +0000)
<R_VAX_8, R_VAX_16, R_VAX_32>: Don't check if info->shared again.

bfd/ChangeLog
bfd/elf32-vax.c

index 766bd2dc79bd4c5cbca1b6c33497155d753ff298..a3daca5f0078763188200d90efe8efda933dd848 100644 (file)
@@ -1,3 +1,8 @@
+2012-05-19  Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * elf32-vax.c (elf_vax_relocate_section)
+       <R_VAX_8, R_VAX_16, R_VAX_32>: Don't check if info->shared again.
+
 2012-05-19  Maciej W. Rozycki  <macro@linux-mips.org>
 
        * elf32-vax.c (elf_vax_relocate_section)
index 735f2231f6e3f1d5e0ed34fa9e6ce4280c53eada..5b86329f1929aa2e4c2129cda768986a81651328 100644 (file)
@@ -1692,8 +1692,7 @@ elf_vax_relocate_section (bfd *output_bfd,
                }
 
              if ((input_section->flags & SEC_CODE) != 0
-                 || (info->shared
-                     && ELF32_R_TYPE (outrel.r_info) != R_VAX_32
+                 || (ELF32_R_TYPE (outrel.r_info) != R_VAX_32
                      && ELF32_R_TYPE (outrel.r_info) != R_VAX_RELATIVE
                      && ELF32_R_TYPE (outrel.r_info) != R_VAX_COPY
                      && ELF32_R_TYPE (outrel.r_info) != R_VAX_JMP_SLOT
This page took 0.025779 seconds and 4 git commands to generate.