This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: unwind-dw2-fde.c change breaks AIX


>>>>> 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
label.)

	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.

David


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]