* minsyms.c (prim_record_minimal_symbol_and_info): Make tempstring

const char *, not char *.
This commit is contained in:
Jim Kingdon 1994-01-16 03:23:50 +00:00
parent fb155ce31a
commit ab5f79719c
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
Sat Jan 15 10:20:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
* minsyms.c (prim_record_minimal_symbol_and_info): Make tempstring
const char *, not char *.
* symtab.h (struct symbol): Make section short, not unsigned short.
* symtab.c (lookup_symbol): Add comment about QUIT here.

View File

@ -328,7 +328,7 @@ prim_record_minimal_symbol_and_info (name, address, ms_type, info, section,
return;
{
char *tempstring = name;
const char *tempstring = name;
if (tempstring[0] == bfd_get_symbol_leading_char (objfile->obfd))
++tempstring;
if (STREQN (tempstring, "__gnu_compiled", 14))