This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ISO C violation (really -- style & string pasting)
- To: Donn Terry <donn at interix dot com>, "egcs at egcs dot cygnus dot com" <egcs at egcs dot cygnus dot com>
- Subject: Re: ISO C violation (really -- style & string pasting)
- From: Richard Henderson <rth at cygnus dot com>
- Date: Thu, 25 Mar 1999 14:29:48 -0800
- References: <36F9848A.9F566D1A@interix.com>
On Wed, Mar 24, 1999 at 05:34:18PM -0700, Donn Terry wrote:
> The easy fix to this is to use a #define and (ISO) string-pasting.
> However, I suspect the style rules disallow string-pasting.
> (If they don't, then we're done, and I'm home free.)
No. Just create a GLOBAL_OFFSET_TABLE_SYMBOL define to use
within i386.{h,c,md} instead of the current string literal.
You can then override this for coff or whatever as needed.
Probably no one's noticed this before because coff doesn't
use pic on any currently supported platform.
r~