summaryrefslogtreecommitdiff
path: root/bfd/elf32-arm.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-10-07 15:00:20 +0000
committerNick Clifton <nickc@redhat.com>2004-10-07 15:00:20 +0000
commit046e9e64c514484d8a2e9ceab260d3a90cf0ae4a (patch)
tree12818063b0325a8ae4b6112020e7d1375f7481ad /bfd/elf32-arm.h
parent24ebed5ebb58f6451b90c1f8f28137f5733ec5df (diff)
downloadgdb-046e9e64c514484d8a2e9ceab260d3a90cf0ae4a.tar.gz
apply mising piece of previous patch
Diffstat (limited to 'bfd/elf32-arm.h')
-rw-r--r--bfd/elf32-arm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-arm.h b/bfd/elf32-arm.h
index 0fcfe795644..be6391c47a2 100644
--- a/bfd/elf32-arm.h
+++ b/bfd/elf32-arm.h
@@ -3201,7 +3201,7 @@ arm_elf_find_function (bfd * abfd ATTRIBUTE_UNUSED,
continue;
/* Fall through. */
case STT_NOTYPE:
- if (q->symbol.section == section
+ if (bfd_get_section (&q->symbol) == section
&& q->symbol.value >= low_func
&& q->symbol.value <= offset)
{