aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2001-12-04 19:38:45 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2001-12-04 14:38:45 -0500
commit344c6d1f1359cd894b72a1161aa6a2160b36a042 (patch)
tree6d912a1774d3f722487e932c15156b535e03efa1 /gcc
parent4f88ccda2d6bba5651d3203aa88f88651b6e7ed2 (diff)
downloadgcc-344c6d1f1359cd894b72a1161aa6a2160b36a042.zip
gcc-344c6d1f1359cd894b72a1161aa6a2160b36a042.tar.gz
gcc-344c6d1f1359cd894b72a1161aa6a2160b36a042.tar.bz2
* config/elfos.h (ASM_OUTPUT_INTERNAL_LABEL): Display count unsigned.
From-SVN: r47620
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/elfos.h10
2 files changed, 9 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 81f909ed..70064a1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2001-12-04 David Edelsohn <edelsohn@gnu.org>
+
+ * config/elfos.h (ASM_OUTPUT_INTERNAL_LABEL): Display count unsigned.
+
2001-12-04 Hans-Peter Nilsson <hp@axis.com>
* config/cris/cris.h (OPTIMIZATION_OPTIONS): Don't unset
diff --git a/gcc/config/elfos.h b/gcc/config/elfos.h
index 503e141..e04e57d 100644
--- a/gcc/config/elfos.h
+++ b/gcc/config/elfos.h
@@ -134,11 +134,11 @@ Boston, MA 02111-1307, USA. */
with a period is not put into the linker symbol table by the assembler. */
#undef ASM_OUTPUT_INTERNAL_LABEL
-#define ASM_OUTPUT_INTERNAL_LABEL(FILE, PREFIX, NUM) \
- do \
- { \
- fprintf (FILE, ".%s%d:\n", PREFIX, NUM); \
- } \
+#define ASM_OUTPUT_INTERNAL_LABEL(FILE, PREFIX, NUM) \
+ do \
+ { \
+ fprintf (FILE, ".%s%u:\n", PREFIX, (unsigned) (NUM)); \
+ } \
while (0)
/* This is how to store into the string LABEL