diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2004-05-27 04:07:41 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2004-05-27 04:07:41 +0000 |
commit | 0e140e1bfebbcd2c296fa43b01fc18e0a72fd2a7 (patch) | |
tree | d39e96fa48a1b0d71f3f669f3b5f1542ba5b431a /bfd/elf-m10300.c | |
parent | 599904e05b4885001100563dfa49b7bb1fa7572e (diff) | |
download | gdb-0e140e1bfebbcd2c296fa43b01fc18e0a72fd2a7.tar.gz |
* 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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf-m10300.c b/bfd/elf-m10300.c index c64d34f4e25..ba204f4093f 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); |