From 344c6d1f1359cd894b72a1161aa6a2160b36a042 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Tue, 4 Dec 2001 19:38:45 +0000 Subject: [PATCH] * config/elfos.h (ASM_OUTPUT_INTERNAL_LABEL): Display count unsigned. From-SVN: r47620 --- gcc/ChangeLog | 4 ++++ gcc/config/elfos.h | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 81f909ed3a9..70064a1993f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-12-04 David Edelsohn + + * config/elfos.h (ASM_OUTPUT_INTERNAL_LABEL): Display count unsigned. + 2001-12-04 Hans-Peter Nilsson * config/cris/cris.h (OPTIMIZATION_OPTIONS): Don't unset diff --git a/gcc/config/elfos.h b/gcc/config/elfos.h index 503e141d778..e04e57db274 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 -- 2.30.2