summaryrefslogtreecommitdiffstats
path: root/bfd/elf32-ppc.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2000-05-23 14:20:57 +0000
committerH.J. Lu <hjl.tools@gmail.com>2000-05-23 14:20:57 +0000
commitba09750c1eb83bff64c9ee1b0254de68da3ca1f2 (patch)
tree7c76500c14bddaa479ad3dbbcc6afdc6880a01b1 /bfd/elf32-ppc.c
parentedb72b3b352c80a36e4f1c6f6b7f5980d25f6368 (diff)
downloadppe42-binutils-ba09750c1eb83bff64c9ee1b0254de68da3ca1f2.tar.gz
ppe42-binutils-ba09750c1eb83bff64c9ee1b0254de68da3ca1f2.zip
2000-05-23 H.J. Lu <hjl@gnu.org>
* elf32-mips.c (mips_elf_calculate_relocation): Check h->root.other not h->other. * elf32-ppc.c (ppc_elf_relocate_section): Fix a typo.
Diffstat (limited to 'bfd/elf32-ppc.c')
-rw-r--r--bfd/elf32-ppc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c
index cf832426d9..6dc3effc3f 100644
--- a/bfd/elf32-ppc.c
+++ b/bfd/elf32-ppc.c
@@ -3104,7 +3104,7 @@ ppc_elf_relocate_section (output_bfd, info, input_bfd, input_section,
rel->r_offset,
(!info->shared
|| info->no_undefined
- ELF_ST_VISIBILITY (h->other))))
+ || ELF_ST_VISIBILITY (h->other))))
return false;
relocation = 0;
}
OpenPOWER on IntegriCloud