diff options
author | Thomas Schwinge <tschwinge@gnu.org> | 2010-09-24 12:14:23 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2010-09-24 12:14:23 +0000 |
commit | 5f22672a0dbbe71da39e681654f10908b7782ffa (patch) | |
tree | 3bec86cdc8d6947799e1879d0b160b30d3ed7c23 /bfd/elf32-vax.c | |
parent | 1e26123001cd0ca128cb19fdfdd3ad179ade6401 (diff) | |
download | binutils-redhat-5f22672a0dbbe71da39e681654f10908b7782ffa.tar.gz |
2010-09-24 Thomas Schwinge <thomas@codesourcery.com>
* elf32-arm.c, elf32-cris.c, elf32-hppa.c, elf32-i370.c, elf32-m32r.c,
elf32-m68k.c, elf32-microblaze.c, elf32-ppc.c, elf32-score.c,
elf32-score7.c, elf32-sh.c, elf32-vax.c, elf32-xtensa.c, elf64-alpha.c,
elf64-hppa.c, elf64-mips.c, elf64-ppc.c, elf64-sparc.c, elfcode.h,
elflink.c, elfxx-ia64.c, elfxx-mips.c: Use STN_UNDEF when referring to
the zero symbol index.
Diffstat (limited to 'bfd/elf32-vax.c')
-rw-r--r-- | bfd/elf32-vax.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-vax.c b/bfd/elf32-vax.c index 1582ac764d..db67faf850 100644 --- a/bfd/elf32-vax.c +++ b/bfd/elf32-vax.c @@ -1611,7 +1611,7 @@ elf_vax_relocate_section (bfd *output_bfd, case R_VAX_16: case R_VAX_32: if (info->shared - && r_symndx != 0 + && r_symndx != STN_UNDEF && (input_section->flags & SEC_ALLOC) != 0 && ((r_type != R_VAX_PC8 && r_type != R_VAX_PC16 |