aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-vax.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2012-05-19 19:27:01 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2012-05-19 19:27:01 +0000
commit751c1fe7eaecddf885f29a2aba76981e495371f0 (patch)
tree5e3513bde6aebad09542dea1209df844cb874404 /bfd/elf32-vax.c
parentddd74d3cefc91effcba35b753ce9f40007c963c3 (diff)
downloadgdb-751c1fe7eaecddf885f29a2aba76981e495371f0.zip
gdb-751c1fe7eaecddf885f29a2aba76981e495371f0.tar.gz
gdb-751c1fe7eaecddf885f29a2aba76981e495371f0.tar.bz2
* elf32-vax.c (elf_vax_relocate_section)
<R_VAX_8, R_VAX_16, R_VAX_32>: Don't check if info->shared again.
Diffstat (limited to 'bfd/elf32-vax.c')
-rw-r--r--bfd/elf32-vax.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bfd/elf32-vax.c b/bfd/elf32-vax.c
index 735f223..5b86329 100644
--- a/bfd/elf32-vax.c
+++ b/bfd/elf32-vax.c
@@ -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