diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | 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 <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 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 |