From 101d9529d47a47bbe86d0456eac0d103fbf1bdfc Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Wed, 16 Jul 1997 19:05:27 +0000 Subject: [PATCH] x From-SVN: r14464 --- gcc/config/sparc/sparc.h | 13 +++++++++++++ gcc/config/sparc/sysv4.h | 1 + 2 files changed, 14 insertions(+) diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index c787e6036b8..ac86c3a1b41 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -2962,6 +2962,19 @@ do { \ fprintf ((FILE), ",%u,\"bss\",%u\n", \ (SIZE), ((ALIGNED) / 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) + /* Store in OUTPUT a string (made with alloca) containing an assembler-name for a local static variable named NAME. LABELNO is an integer which is different for each call. */ diff --git a/gcc/config/sparc/sysv4.h b/gcc/config/sparc/sysv4.h index 96e49f9babe..38ddd4815ca 100644 --- a/gcc/config/sparc/sysv4.h +++ b/gcc/config/sparc/sysv4.h @@ -270,5 +270,6 @@ do { long value[4]; \ NAME whose size is SIZE bytes and alignment is ALIGN bytes. Try to use asm_output_aligned_bss to implement this macro. */ +#undef ASM_OUTPUT_ALIGNED_BSS #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \ asm_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN)