aboutsummaryrefslogtreecommitdiff
path: root/gdb/elfread.c
diff options
context:
space:
mode:
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;
}