equating symbols to undefined

Jan Beulich JBeulich@novell.com
Mon Oct 24 16:55:00 GMT 2005


>>> "H. J. Lu" <hjl@lucon.org> 24.10.05 17:53:08 >>>
>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.

Now - are you going to refine your original code changes, or will I
need to understand all implications of your original changes in order to
derive a fix?

Jan



More information about the Binutils mailing list