[PATCH] read.c: Don't special case the set directive for COFF
Alan Modra
amodra@gmail.com
Fri Jul 4 04:49:00 GMT 2014
On Thu, Jul 03, 2014 at 10:08:03PM -0400, David Majnemer wrote:
> diff --git a/gas/read.c b/gas/read.c
> index 8e1b06e..1e148d8 100644
> --- a/gas/read.c
> +++ b/gas/read.c
> @@ -3187,10 +3187,6 @@ assign_symbol (char *name, int mode)
> symbol_set_frag (symbolP, dummy_frag);
> }
> #endif
> -#ifdef OBJ_COFF
> - /* "set" symbols are local unless otherwise specified. */
> - SF_SET_LOCAL (symbolP);
> -#endif
> }
>
> if (S_IS_DEFINED (symbolP) || symbol_equated_p (symbolP))
The above code can be traced right back to git revision fecd2382,
1991-04-04. Instead of deleting it, you probably should be disabling
it for PE.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list