diff options
author | David Edelsohn <edelsohn@gnu.org> | 2003-05-12 21:06:36 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2003-05-12 17:06:36 -0400 |
commit | f08b4d886775fe7ec46dddc8e02b0a571eeff8df (patch) | |
tree | 6f0960d57d386830e22573d0e9f50acdcfa62ff0 /gcc | |
parent | 1f61755cdb31195e5c769152c70ae09c5bedbff4 (diff) | |
download | gcc-f08b4d886775fe7ec46dddc8e02b0a571eeff8df.zip gcc-f08b4d886775fe7ec46dddc8e02b0a571eeff8df.tar.gz gcc-f08b4d886775fe7ec46dddc8e02b0a571eeff8df.tar.bz2 |
xcoff.h (ASM_OUTPUT_SKIP): Accept HOST_WIDE_INT.
* config/rs6000/xcoff.h (ASM_OUTPUT_SKIP): Accept HOST_WIDE_INT.
(ASM_OUTPUT_ALIGNED_COMMON): Same.
(ASM_OUTPUT_LOCAL): Same.
From-SVN: r66736
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/rs6000/xcoff.h | 11 |
2 files changed, 12 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a96f1f0..6133ec5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2003-05-12 David Edelsohn <edelsohn@gnu.org> + + * config/rs6000/xcoff.h (ASM_OUTPUT_SKIP): Accept HOST_WIDE_INT. + (ASM_OUTPUT_ALIGNED_COMMON): Same. + (ASM_OUTPUT_LOCAL): Same. + Mon May 12 21:53:29 CEST 2003 Jan Hubicka <jh@suse.cz> * varasm.c (output_constant): Fix underflow. diff --git a/gcc/config/rs6000/xcoff.h b/gcc/config/rs6000/xcoff.h index d10ecaf..a157537 100644 --- a/gcc/config/rs6000/xcoff.h +++ b/gcc/config/rs6000/xcoff.h @@ -343,7 +343,7 @@ toc_section () \ #define SKIP_ASM_OP "\t.space " #define ASM_OUTPUT_SKIP(FILE,SIZE) \ - fprintf (FILE, "%s%u\n", SKIP_ASM_OP, (int)(SIZE)) + fprintf (FILE, "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n", SKIP_ASM_OP, (SIZE)) /* This says how to output an assembler line to define a global common symbol. */ @@ -354,12 +354,12 @@ toc_section () \ do { fputs (COMMON_ASM_OP, (FILE)); \ RS6000_OUTPUT_BASENAME ((FILE), (NAME)); \ if ((ALIGN) > 32) \ - fprintf ((FILE), ",%u,%u\n", (int)(SIZE), \ + fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", (SIZE), \ exact_log2 ((ALIGN) / BITS_PER_UNIT)); \ else if ((SIZE) > 4) \ - fprintf ((FILE), ",%u,3\n", (int)(SIZE)); \ + fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",3\n", (SIZE)); \ else \ - fprintf ((FILE), ",%u\n", (int)(SIZE)); \ + fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED"\n", (SIZE)); \ } while (0) /* This says how to output an assembler line @@ -373,7 +373,8 @@ toc_section () \ #define ASM_OUTPUT_LOCAL(FILE, NAME, SIZE, ROUNDED) \ do { fputs (LOCAL_COMMON_ASM_OP, (FILE)); \ RS6000_OUTPUT_BASENAME ((FILE), (NAME)); \ - fprintf ((FILE), ",%u,%s\n", (TARGET_32BIT ? (int)(SIZE) : (int)(ROUNDED)), \ + fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%s\n", \ + (TARGET_32BIT ? (SIZE) : (ROUNDED)), \ xcoff_bss_section_name); \ } while (0) |