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] |
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:
-- 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] |