ISO C violation (really -- style & string pasting)
Martin v. Loewis
martin@mira.isdn.cs.tu-berlin.de
Wed Mar 31 23:46:00 GMT 1999
> W.r.t the program below: let's change it so GLOBAL_OFFSET_TABLE_
> is an extern. (With it on the stack, it doesn't have an assembler
> name, and the issue isn't relevant.)
I was assuming that you've proposed to introduce a new predefined
preprocessor macro into cpp with the name GLOBAL_OFFSET_TABLE_, which
would be defined to, say
__this_is_the_mangled_version_of_GLOBAL_OFFSET_TABLE_.
> I don't believe you're understanding my point. I'm trying to
> change gcc so it doesn't create a symbol conflict, as it currently
> does. Please see my response to Richard H and if it still isn't
> clear, let's try again.
Ok, after two iterations, I understand. I just couldn't figure out
what the specific name of the symbol has to to with 'string pasting'.
Another alternative would be to use this string concatenation only in
stage 2...
Regards,
Martin
More information about the Gcc
mailing list