2001-03-28 H.J. Lu <hjl@gnu.org>
* read.c (equals): Set to local for COFF only if it hasn't been defined before.
This commit is contained in:
parent
8a238888b4
commit
440ecb3800
@ -1,3 +1,8 @@
|
|||||||
|
2001-03-28 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
|
* read.c (equals): Set to local for COFF only if it hasn't been
|
||||||
|
defined before.
|
||||||
|
|
||||||
2001-03-28 Alan Modra <alan@linuxcare.com.au>
|
2001-03-28 Alan Modra <alan@linuxcare.com.au>
|
||||||
|
|
||||||
* config/tc-hppa.c (DEFAULT_LEVEL): Define.
|
* config/tc-hppa.c (DEFAULT_LEVEL): Define.
|
||||||
|
@ -4857,6 +4857,13 @@ equals (sym_name, reassign)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
#ifdef OBJ_COFF
|
||||||
|
int local;
|
||||||
|
|
||||||
|
symbolP = symbol_find (sym_name);
|
||||||
|
local = symbolP == NULL;
|
||||||
|
if (local)
|
||||||
|
#endif /* OBJ_COFF */
|
||||||
symbolP = symbol_find_or_make (sym_name);
|
symbolP = symbol_find_or_make (sym_name);
|
||||||
/* Permit register names to be redefined. */
|
/* Permit register names to be redefined. */
|
||||||
if (!reassign
|
if (!reassign
|
||||||
@ -4866,6 +4873,7 @@ equals (sym_name, reassign)
|
|||||||
|
|
||||||
#ifdef OBJ_COFF
|
#ifdef OBJ_COFF
|
||||||
/* "set" symbols are local unless otherwise specified. */
|
/* "set" symbols are local unless otherwise specified. */
|
||||||
|
if (local)
|
||||||
SF_SET_LOCAL (symbolP);
|
SF_SET_LOCAL (symbolP);
|
||||||
#endif /* OBJ_COFF */
|
#endif /* OBJ_COFF */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user