From 2bae62b625616590d3f9c714a539b3a4d1ec52a7 Mon Sep 17 00:00:00 2001 From: ebotcazou Date: Tue, 14 Jun 2005 13:07:42 +0000 Subject: PR target/20301 * config/sparc/sol2.h (ASM_GENERATE_INTERNAL_LABEL): Emit unsigned index numbers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100933 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/config/sparc/sol2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/config/sparc/sol2.h') diff --git a/gcc/config/sparc/sol2.h b/gcc/config/sparc/sol2.h index 1c68133a8c9..9b548c2d34c 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.2.1