This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: C ASSEMBLER_NAME patch



On Thursday, July 24, 2003, at 01:50 PM, Bob Wilson wrote:


Geoffrey Keating wrote:
Note that there is one ongoing problem with this patch.  It sets the
name of the function the first time that DECL_ASSEMBLER_NAME is
called.  If DECL_ASSEMBLER_NAME gets called before the declaration
is fully parsed, the object can get the wrong name.  I'm trying to
think of ways to add checking code to detect this...

This is definitely a problem. I'm trying to build glibc for Xtensa (using version 2.2.5, but I think the relevant code is the same in the latest version). The sysdeps/unix/sysv/linux/init-first.c file contains the following:

... stuff that didn't make sense ...


Could you please double-check that you're using a version of the compiler with this actual patch in it?

Unless you're trying to build glibc with intermodule analysis, you should not be seeing the behaviour you're seeing.

--
Geoff Keating <geoffk@apple.com>


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