diff options
Diffstat (limited to 'bfd/elfnn-aarch64.c')
-rw-r--r-- | bfd/elfnn-aarch64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elfnn-aarch64.c b/bfd/elfnn-aarch64.c index fd44505..7132b6b 100644 --- a/bfd/elfnn-aarch64.c +++ b/bfd/elfnn-aarch64.c @@ -8042,7 +8042,7 @@ aarch64_elf_find_function (bfd * abfd, (q->symbol.name, BFD_AARCH64_SPECIAL_SYM_TYPE_ANY))) continue; /* Fall through. */ - if (bfd_get_section (&q->symbol) == section + if (bfd_asymbol_section (&q->symbol) == section && q->symbol.value >= low_func && q->symbol.value <= offset) { func = (asymbol *) q; |