summaryrefslogtreecommitdiffstats
path: root/bfd/elf-m10300.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2004-05-27 04:07:41 +0000
committerAlexandre Oliva <aoliva@redhat.com>2004-05-27 04:07:41 +0000
commit9bb351fd9cfb5adf3630f433486727808fe994e7 (patch)
tree1ed3a7c065422a6da67bbdec2bb448048251ac94 /bfd/elf-m10300.c
parentd4e145e024e59178ab0d9cb513c01f194c4cac61 (diff)
downloadppe42-binutils-9bb351fd9cfb5adf3630f433486727808fe994e7.tar.gz
ppe42-binutils-9bb351fd9cfb5adf3630f433486727808fe994e7.zip
* elf-m10300.c (mn10300_elf_relax_section): Don't test isym within
loop over hashes.
Diffstat (limited to 'bfd/elf-m10300.c')
-rw-r--r--bfd/elf-m10300.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf-m10300.c b/bfd/elf-m10300.c
index c64d34f4e2..ba204f4093 100644
--- a/bfd/elf-m10300.c
+++ b/bfd/elf-m10300.c
@@ -2057,7 +2057,7 @@ mn10300_elf_relax_section (abfd, sec, link_info, again)
if ((hash->root.root.type == bfd_link_hash_defined
|| hash->root.root.type == bfd_link_hash_defweak)
&& hash->root.root.u.def.section == section
- && ELF_ST_TYPE (isym->st_info) == STT_FUNC)
+ && hash->root.type == STT_FUNC)
compute_function_info (input_bfd, hash,
(hash)->root.root.u.def.value,
contents);
OpenPOWER on IntegriCloud