projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7e76b5
)
* elfread.c (elf_symtab_read): Fix a bug ignoring compiler
author
Kung Hsu
<kung@cygnus>
Fri, 7 Jul 1995 21:44:57 +0000
(21:44 +0000)
committer
Kung Hsu
<kung@cygnus>
Fri, 7 Jul 1995 21:44:57 +0000
(21:44 +0000)
generated internal labels ($LM...).
gdb/elfread.c
patch
|
blob
|
history
diff --git
a/gdb/elfread.c
b/gdb/elfread.c
index a4d4f72eedaddc20b9c9ac16147e60a5d35a8c6e..0425c01ce42a53a7ce6d1fed0e6c515e1882291e 100644
(file)
--- a/
gdb/elfread.c
+++ b/
gdb/elfread.c
@@
-401,7
+401,7
@@
elf_symtab_read (abfd, addr, objfile, dynamic)
}
else if ((sym->name[0] == '.' && sym->name[1] == 'L')
|| ((sym -> flags & BSF_LOCAL)
- && sym->name[0] == '
L
'
+ && sym->name[0] == '
$
'
&& sym->name[1] == 'L'))
/* Looks like a compiler-generated label. Skip it.
The assembler should be skipping these (to keep