From 0ce200e50c8a6038d9aa028463b36f2dc67b4330 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Thu, 17 Jul 1997 06:40:52 +0000 Subject: [PATCH] x From-SVN: r14465 --- gcc/config/i960/i960.h | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/gcc/config/i960/i960.h b/gcc/config/i960/i960.h index 8d2e6c42d7d..34dc397d030 100644 --- a/gcc/config/i960/i960.h +++ b/gcc/config/i960/i960.h @@ -1382,10 +1382,20 @@ extern struct rtx_def *gen_compare_reg (); ( fputs (".bss\t", (FILE)), \ assemble_name ((FILE), (NAME)), \ fprintf ((FILE), ",%d,%d\n", (SIZE), \ - ((ALIGN) <= 8 ? 0 \ - : ((ALIGN) <= 16 ? 1 \ - : ((ALIGN) <= 32 ? 2 \ - : ((ALIGN <= 64 ? 3 : 4))))))) + (floor_log2 ((ALIGN) / BITS_PER_UNIT)))) + +/* A C statement (sans semicolon) to output to the stdio stream + FILE the assembler definition of uninitialized global DECL named + NAME whose size is SIZE bytes and alignment is ALIGN bytes. + Try to use asm_output_aligned_bss to implement this macro. */ + +#define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \ + do { \ + fputs (".globl ", (FILE)); \ + assemble_name ((FILE), (NAME)); \ + fputs ("\n", (FILE)); \ + ASM_OUTPUT_ALIGNED_LOCAL (FILE, NAME, SIZE, ALIGN); \ + } while (0) /* Output text for an #ident directive. */ #define ASM_OUTPUT_IDENT(FILE, STR) fprintf(FILE, "\t# %s\n", STR); -- 2.30.2