From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zack Weinberg To: Joern Rennecke Cc: gcc@gcc.gnu.org Subject: Re: varasm patch breaks sh-coff Date: Mon, 11 Sep 2000 11:25:00 -0000 Message-id: <20000911112542.B13727@wolery.cumb.org> References: <200009111806.TAA21473@phal.cygnus.co.uk> X-SW-Source: 2000-09/msg00195.html On Mon, Sep 11, 2000 at 07:06:49PM +0100, Joern Rennecke wrote: > This patch: [ * varasm.c (make_decl_rtl): Restore leading star on DECL_ASSEMBLER_NAME set for decls with an asmspec. ] > breaks sh-coff. In libgcc1-test.c, there is: ... > Your patch causes "*start" to be used for the identifier. > In sdbout.c:sdbout_symbol, the '*' is not stripped: ... > PUT_SDB_DEF (IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl))); PUT_SDB_DEF (and all the other macros in sdbout.c that use ASM_OUTPUT_LABELREF) should be using assemble_name instead. sdbout.c is the only place in the compiler that does _not_ use assemble_name for this purpose. I can't test sh-coff; can you do the patch, please? zw