ISO C violation (really -- style & string pasting)

Richard Henderson rth@cygnus.com
Thu Mar 25 14:29:00 GMT 1999


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~


More information about the Gcc mailing list