aboutsummaryrefslogtreecommitdiff
path: root/gdb/elfread.c
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
parent3b4efeaa2da94f19becde56d8c8f9693367acafc (diff)
downloadgdb-389e51db103b5c811f1849228c2c5e9e71062f5a.zip
gdb-389e51db103b5c811f1849228c2c5e9e71062f5a.tar.gz
gdb-389e51db103b5c811f1849228c2c5e9e71062f5a.tar.bz2
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 33ea394..7d37297 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;
}