From: Randolph Chung Date: Fri, 11 Jun 2004 23:44:24 +0000 (+0000) Subject: 2004-06-11 Randolph Chung X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b887c273aea58585ba34f9ff4444896e04d572a4;p=binutils-gdb.git 2004-06-11 Randolph Chung * somread.c (som_symtab_read): Exclude gcc local symbols. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e59c919ab74..d9bf0975722 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2004-06-11 Randolph Chung + + * somread.c (som_symtab_read): Exclude gcc local symbols. + 2004-06-11 Randolph Chung * infrun.c (handle_inferior_event): Handle the case when a trampoline 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;