diff options
author | Randolph Chung <tausq@debian.org> | 2004-06-11 23:44:24 +0000 |
---|---|---|
committer | Randolph Chung <tausq@debian.org> | 2004-06-11 23:44:24 +0000 |
commit | b16e00c15263b5aa482b1d90d675c13133abfa96 (patch) | |
tree | a6edea9f780f1f1cff6896d067eebcdb747bc288 /gdb/somread.c | |
parent | 1825a517d8d56900569f040c4e7300d590aa7c36 (diff) | |
download | gdb-b16e00c15263b5aa482b1d90d675c13133abfa96.tar.gz |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/somread.c b/gdb/somread.c index 4ffa4c1c9e4..13b52092a20 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; |