mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 07:08:01 +08:00
* config/obj-coff.c (obj_symbol_new_hook): Don't need to strip underscores,
since symbol_new will already have done it. * config/obj-coffbfd.c (obj_symbol_new_hook): Ditto.
This commit is contained in:
@ -3,6 +3,10 @@ Fri Apr 22 15:17:06 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
|
|||||||
* listing.c (list_symbol_table): Don't print register symbols as
|
* listing.c (list_symbol_table): Don't print register symbols as
|
||||||
undefined.
|
undefined.
|
||||||
|
|
||||||
|
* config/obj-coff.c (obj_symbol_new_hook): Don't need to strip
|
||||||
|
underscores, since symbol_new will already have done it.
|
||||||
|
* config/obj-coffbfd.c (obj_symbol_new_hook): Ditto.
|
||||||
|
|
||||||
Thu Apr 21 15:50:04 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
Thu Apr 21 15:50:04 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
||||||
|
|
||||||
* config/tc-mips.c (append_insn): Permit branches to be switched
|
* config/tc-mips.c (append_insn): Permit branches to be switched
|
||||||
|
@ -301,16 +301,6 @@ obj_symbol_new_hook (symbolP)
|
|||||||
S_SET_STORAGE_CLASS (symbolP, 0);
|
S_SET_STORAGE_CLASS (symbolP, 0);
|
||||||
S_SET_NUMBER_AUXILIARY (symbolP, 0);
|
S_SET_NUMBER_AUXILIARY (symbolP, 0);
|
||||||
|
|
||||||
#ifdef STRIP_UNDERSCORE
|
|
||||||
/* Remove leading underscore at the beginning of the symbol.
|
|
||||||
This is to be compatible with the standard librairies. */
|
|
||||||
if (*S_GET_NAME (symbolP) == '_')
|
|
||||||
{
|
|
||||||
underscore = 1;
|
|
||||||
S_SET_NAME (symbolP, S_GET_NAME (symbolP) + 1);
|
|
||||||
}
|
|
||||||
#endif /* STRIP_UNDERSCORE */
|
|
||||||
|
|
||||||
if (S_IS_STRING (symbolP))
|
if (S_IS_STRING (symbolP))
|
||||||
SF_SET_STRING (symbolP);
|
SF_SET_STRING (symbolP);
|
||||||
if (!underscore && S_IS_LOCAL (symbolP))
|
if (!underscore && S_IS_LOCAL (symbolP))
|
||||||
|
@ -697,17 +697,6 @@ obj_symbol_new_hook (symbolP)
|
|||||||
/* Auxiliary entries */
|
/* Auxiliary entries */
|
||||||
memset ((char *) &symbolP->sy_symbol.ost_auxent[0], 0, AUXESZ);
|
memset ((char *) &symbolP->sy_symbol.ost_auxent[0], 0, AUXESZ);
|
||||||
|
|
||||||
#ifdef STRIP_UNDERSCORE
|
|
||||||
/* Remove leading underscore at the beginning of the symbol.
|
|
||||||
* This is to be compatible with the standard librairies.
|
|
||||||
*/
|
|
||||||
if (*S_GET_NAME (symbolP) == '_')
|
|
||||||
{
|
|
||||||
underscore = 1;
|
|
||||||
S_SET_NAME (symbolP, S_GET_NAME (symbolP) + 1);
|
|
||||||
} /* strip underscore */
|
|
||||||
#endif /* STRIP_UNDERSCORE */
|
|
||||||
|
|
||||||
if (S_IS_STRING (symbolP))
|
if (S_IS_STRING (symbolP))
|
||||||
SF_SET_STRING (symbolP);
|
SF_SET_STRING (symbolP);
|
||||||
if (!underscore && S_IS_LOCAL (symbolP))
|
if (!underscore && S_IS_LOCAL (symbolP))
|
||||||
|
Reference in New Issue
Block a user