This is the mail archive of the
mailing list for the GCC project.
Re: powerpc64 linux dot symbols
On Sat, Aug 21, 2004 at 03:55:25AM -0400, Jakub Jelinek wrote:
> This is not going to work right, after the change to make DOT_SYMBOLS
> runtime selectable DOT_SYMBOLS is no longer a constant suitable
> for #if.
> Maybe #ifndef HAVE_LD_NO_DOT_SYMS instead of #if DOT_SYMBOLS
> or predefining some macro depending on whether dot_symbols is false or true
> in the compiler and using it here could do the job.
Actually, #ifndef HAVE_LD_NO_DOT_SYMS behaves exactly the same as
#if DOT_SYMBOLS here. The following
#define DOT_SYMBOLS dot_symbols
will result in do_not_use_dot_symbol_version. Admittedly, relying on
this particular C pre-processor behaviour doesn't make the code very
IBM OzLabs - Linux Technology Centre