aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-09-19 03:58:41 +0000
committerAndrew Cagney <cagney@redhat.com>2002-09-19 03:58:41 +0000
commit389e51db103b5c811f1849228c2c5e9e71062f5a (patch)
treef29314af18fc82fc8eaeaf5b9ac5ddb55d09fd5c /gdb/elfread.c
parent2002-09-18 Michael Snyder <msnyder@redhat.com> (diff)
downloadbinutils-gdb-389e51db103b5c811f1849228c2c5e9e71062f5a.tar.gz
binutils-gdb-389e51db103b5c811f1849228c2c5e9e71062f5a.tar.bz2
binutils-gdb-389e51db103b5c811f1849228c2c5e9e71062f5a.zip
Revert previous change. Not obvious.
Diffstat (limited to 'gdb/elfread.c')
-rw-r--r--gdb/elfread.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/gdb/elfread.c b/gdb/elfread.c
index 33ea394ac24..7d37297c5f4 100644
--- a/gdb/elfread.c
+++ b/gdb/elfread.c
@@ -349,13 +349,7 @@ elf_symtab_read (struct objfile *objfile, int dynamic)
}
else if (sym->section->flags & SEC_CODE)
{
- if (sym->name[0] == '.'
- && (strncmp (sym->name + 1, "objc_", 4) == 0))
- {
- /* Looks like an Objective-C special symbol */
- continue;
- }
- else if (sym->flags & BSF_GLOBAL)
+ if (sym->flags & BSF_GLOBAL)
{
ms_type = mst_text;
}