re PR target/20301 (Assembler labels have a leading "-")
authorEric Botcazou <ebotcazou@libertysurf.fr>
Tue, 14 Jun 2005 13:07:42 +0000 (15:07 +0200)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 14 Jun 2005 13:07:42 +0000 (13:07 +0000)
PR target/20301
* config/sparc/sol2.h (ASM_GENERATE_INTERNAL_LABEL): Emit
unsigned index numbers.

From-SVN: r100933

gcc/ChangeLog
gcc/config/sparc/sol2.h

index dc429c2..f768e4f 100644 (file)
@@ -1,3 +1,9 @@
+2005-06-14  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       PR target/20301
+       * config/sparc/sol2.h (ASM_GENERATE_INTERNAL_LABEL): Emit
+       unsigned index numbers.
+
 2005-06-13  Geoffrey Keating  <geoffk@apple.com>
 
        * Makefile.in (install-man): Doesn't really depend on installdirs.
index 1c68133..9b548c2 100644 (file)
@@ -72,7 +72,7 @@ Boston, MA 02111-1307, USA.  */
 
 #undef  ASM_GENERATE_INTERNAL_LABEL
 #define ASM_GENERATE_INTERNAL_LABEL(LABEL,PREFIX,NUM)  \
-  sprintf ((LABEL), "*.L%s%ld", (PREFIX), (long)(NUM))
+  sprintf ((LABEL), "*.L%s%lu", (PREFIX), (unsigned long)(NUM))
 
 /* The native TLS-enabled assembler requires the directive #tls_object
    to be put on objects in TLS sections (as of v7.1).  This is not