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

From-SVN: r100935

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

index eab2498df67b071f569105672bf5744dae448bbf..5371b1c4266d2b62b35e601fde53e51f51ffa0f3 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-08  Eric Botcazou  <ebotcazou@libertysurf.fr>
 
        PR target/21889
index 30c3e24a253cba725b70ae4142d62f728c0dd8d5..e5ed818f21a78bdf21a21763fdbf1ba264b3d452 100644 (file)
@@ -84,7 +84,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