(for COFF) default symbols to being local.
This commit is contained in:
parent
397b41add9
commit
775cf89163
|
@ -1,3 +1,7 @@
|
|||
2001-03-27 Nick Papadonis <nick@coelacanth.com>
|
||||
|
||||
* read.c (equals): (for COFF) default symbols to being local.
|
||||
|
||||
2001-03-27 Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
* configure.in (cris-*-*): Change default emulation to criself.
|
||||
|
|
|
@ -4863,6 +4863,12 @@ equals (sym_name, reassign)
|
|||
&& S_IS_DEFINED (symbolP)
|
||||
&& S_GET_SEGMENT (symbolP) != reg_section)
|
||||
as_bad (_("symbol `%s' already defined"), S_GET_NAME (symbolP));
|
||||
|
||||
#ifdef OBJ_COFF
|
||||
/* "set" symbols are local unless otherwise specified. */
|
||||
SF_SET_LOCAL (symbolP);
|
||||
#endif /* OBJ_COFF */
|
||||
|
||||
pseudo_set (symbolP);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue