aboutsummaryrefslogtreecommitdiff
path: root/gdb/somread.c
diff options
context:
space:
mode:
authorRandolph Chung <tausq@debian.org>2004-06-11 23:44:24 +0000
committerRandolph Chung <tausq@debian.org>2004-06-11 23:44:24 +0000
commitb887c273aea58585ba34f9ff4444896e04d572a4 (patch)
treeaf2e14ebd626171b01042325b6b53122162f150e /gdb/somread.c
parente12a46c96a5f0a76d9704f299290ff3689c07902 (diff)
downloadgdb-b887c273aea58585ba34f9ff4444896e04d572a4.zip
gdb-b887c273aea58585ba34f9ff4444896e04d572a4.tar.gz
gdb-b887c273aea58585ba34f9ff4444896e04d572a4.tar.bz2
2004-06-11 Randolph Chung <tausq@debian.org>
* somread.c (som_symtab_read): Exclude gcc local symbols.
Diffstat (limited to 'gdb/somread.c')
-rw-r--r--gdb/somread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/somread.c b/gdb/somread.c
index 4ffa4c1..13b5209 100644
--- a/gdb/somread.c
+++ b/gdb/somread.c
@@ -219,6 +219,7 @@ som_symtab_read (bfd *abfd, struct objfile *objfile,
if ((symname[0] == 'L' && symname[1] == '$')
|| (symname[0] == '$' && symname[strlen (symname) - 1] == '$')
|| (symname[0] == 'D' && symname[1] == '$')
+ || (strncmp (symname, "L0\001", 3) == 0)
|| (strncmp (symname, "$PIC", 4) == 0))
continue;
break;