This is the mail archive of the
mailing list for the GCC project.
Re: unwind-dw2-fde.c change breaks AIX
> Date: Fri, 25 May 2001 12:21:18 -0700
> From: Richard Henderson <firstname.lastname@example.org>
> On Fri, May 25, 2001 at 03:06:28PM -0400, David Edelsohn wrote:
> > The problem is __USER_LABEL_PREFIX__. What is that macro suppose to do?
> It is supposed to evaluate to "_" on targets that prefix
> all C symbols with an underscore.
> > In config/rs6000/aix.h it is defined a ".".
> > __USER_LABEL_PREFIX__ was defined that way on Mar 16 by Geoff, but I
> > cannot find a ChangeLog entry, discussion on gcc-patches, or a reason for
> > the change.
> This seems incorrect. Geoff, can you comment?
The log entry was:
2000-03-15 Geoff Keating <email@example.com>
Merge changes from newppc-branch onto trunk.
In GCC 2.95.2, it was defined as:
/* Default ABI to compile code for */
#define DEFAULT_ABI ABI_AIX
/* The prefix to add to user-visible assembler symbols. */
#define USER_LABEL_PREFIX "."
in rs6000.h, so I expect it was just moved into aix.h.
I don't know what would be better on AIX, to have the '.' or not to
have it. I suspect any change will break something.
- Geoffrey Keating <firstname.lastname@example.org>