This is the mail archive of the
mailing list for the GCC project.
Re: unwind-dw2-fde.c change breaks AIX
- To: Richard Henderson <rth at redhat dot com>, Geoff Keating <geoffk at redhat dot com>
- Subject: Re: unwind-dw2-fde.c change breaks AIX
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Fri, 25 May 2001 15:34:59 -0400
- Cc: gcc at gcc dot gnu dot org
>>>>> Richard Henderson writes:
Richard> It is supposed to evaluate to "_" on targets that prefix
Richard> all C symbols with an underscore.
On AIX, functions normally are prefixed by a dot, but GCC does
this automatically -- at least in the context that __USER_LABEL_PREFIX__
is being used in unwind-dw2-fde.c. Not all symbols are prefixed, even on
AIX, only function names. (For functions, the prefixed name is the
function descriptor and the unprefixed name is the actual function entry
If __USER_LABEL_PREFIX__ is for all C symbols, then I do not think
it should be defined as "." in aix.h and the user somehow needs to know
when it will be used in a context requiring a dot prefix. It looks like
GCC already does the right thing in contexts where it is being used.