aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-10-07 14:57:57 +0000
committerNick Clifton <nickc@redhat.com>2004-10-07 14:57:57 +0000
commitb67ae299337df2d8af07cac6a99630169f0bcdf6 (patch)
tree47a406863bc2336c4ee19e64783ee9f5afe8d193 /bfd/elf.c
parent5c5054ab4802a9313958efee38493ad7cfa8b939 (diff)
downloadgdb-b67ae299337df2d8af07cac6a99630169f0bcdf6.zip
gdb-b67ae299337df2d8af07cac6a99630169f0bcdf6.tar.gz
gdb-b67ae299337df2d8af07cac6a99630169f0bcdf6.tar.bz2
Skip redundant/bogus test for section membership when examining symbols.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index 64990b2b..0b2fb84 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -6304,9 +6304,6 @@ elf_find_function (bfd *abfd ATTRIBUTE_UNUSED,
q = (elf_symbol_type *) *p;
- if (bfd_get_section (&q->symbol) != section)
- continue;
-
switch (ELF_ST_TYPE (q->internal_elf_sym.st_info))
{
default: