This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: equating symbols to undefined


On Mon, Oct 24, 2005 at 10:06:04AM +0200, Jan Beulich wrote:
> >>> "H. J. Lu" <hjl@lucon.org> 21.10.05 19:02:50 >>>
> >".set" can be used to define a local symbol from a global symbol to
> >avoid relocation. The change was made to prevent the gcc bug.
> >
> >I still like to see what other assemblers do.
> 
> I can't say anything about Solaris/HPUX/IRIX/AIX; for what it is worth,
> MASM supports (non-global) equates to externals (MASM equates aren't
> exactly like gas' in that, if the expression is not resolvable at the
> point of definition, it is used as a literal text replacement, and
> resolving the expression is then done at point of use). Intel's ias (for
> ia64) also supports (non-global) equates to externals, and ias' support
> for equates is much closer to gas'.
> 

I checked Solaris 9 ia32 assember. It allows ".set" on local symbols to
global ones. I dropped my objection to allow it in gas.

H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]