From fca0efd4daa22e4c7a14805f39feda4e14fc6f4a Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Tue, 14 Jun 2005 15:07:42 +0200 Subject: re PR target/20301 (Assembler labels have a leading "-") PR target/20301 * config/sparc/sol2.h (ASM_GENERATE_INTERNAL_LABEL): Emit unsigned index numbers. From-SVN: r100933 --- gcc/config/sparc/sol2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/config') diff --git a/gcc/config/sparc/sol2.h b/gcc/config/sparc/sol2.h index 1c68133..9b548c2 100644 --- a/gcc/config/sparc/sol2.h +++ b/gcc/config/sparc/sol2.h @@ -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 -- cgit v1.1