OSDN Git Service

x
authormerrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 Jul 1997 19:05:27 +0000 (19:05 +0000)
committermerrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 Jul 1997 19:05:27 +0000 (19:05 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14464 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/sparc/sparc.h
gcc/config/sparc/sysv4.h

index c787e60..ac86c3a 100644 (file)
@@ -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.  */
index 96e49f9..38ddd48 100644 (file)
@@ -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)