* elf32-vax.c (elf_vax_relocate_section)

<R_VAX_8, R_VAX_16, R_VAX_32>: Don't check if info->shared again.
This commit is contained in:
Maciej W. Rozycki 2012-05-19 19:27:01 +00:00
parent ddd74d3cef
commit 751c1fe7ea
2 changed files with 6 additions and 2 deletions

View 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)

View 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