aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@libertysurf.fr>2005-06-14 15:07:42 +0200
committerEric Botcazou <ebotcazou@gcc.gnu.org>2005-06-14 13:07:42 +0000
commitfca0efd4daa22e4c7a14805f39feda4e14fc6f4a (patch)
tree9b248f641c7ac338f3737e59dee723588dec4c79 /gcc/config
parentf15e443c5da87afc7ce2b0258c41383663fd3c12 (diff)
downloadgcc-fca0efd4daa22e4c7a14805f39feda4e14fc6f4a.zip
gcc-fca0efd4daa22e4c7a14805f39feda4e14fc6f4a.tar.gz
gcc-fca0efd4daa22e4c7a14805f39feda4e14fc6f4a.tar.bz2
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
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/sparc/sol2.h2
1 files changed, 1 insertions, 1 deletions
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