From 751c1fe7eaecddf885f29a2aba76981e495371f0 Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Sat, 19 May 2012 19:27:01 +0000 Subject: [PATCH] * elf32-vax.c (elf_vax_relocate_section) : Don't check if info->shared again. --- bfd/ChangeLog | 5 +++++ bfd/elf32-vax.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 766bd2dc79b..a3daca5f007 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2012-05-19 Maciej W. Rozycki + + * elf32-vax.c (elf_vax_relocate_section) + : Don't check if info->shared again. + 2012-05-19 Maciej W. Rozycki * elf32-vax.c (elf_vax_relocate_section) diff --git a/bfd/elf32-vax.c b/bfd/elf32-vax.c index 735f2231f6e..5b86329f192 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 -- 2.30.2