(ASM_OUTPUT_SECTION_NAME): emit @nobits
authorAldy Hernandez <aldyh@redhat.com>
Wed, 13 Dec 2000 19:36:48 +0000 (19:36 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Wed, 13 Dec 2000 19:36:48 +0000 (19:36 +0000)
From-SVN: r38228

gcc/ChangeLog
gcc/config/mips/elf.h
gcc/config/mips/elf64.h
gcc/config/mips/iris6.h
gcc/config/mips/netbsd.h
gcc/config/mips/openbsd.h

index aa8d3ac4ceb1dbb1a8b8b1725b563b79de61a2e4..8666e407e4b0be0d9805946337dd8fd46a27dc2a 100644 (file)
@@ -1,3 +1,12 @@
+2000-12-07  Aldy Hernandez  <aldyh@redhat.com>
+
+        * config/mips/elf.h (ASM_OUTPUT_SECTION_NAME): emit @nobits
+        if changing into .bss section.
+        * config/mips/elf64.h: same.
+        * config/mips/iris6.h: same.
+        * config/mips/netbsd.h: same.
+        * config/mips/openbsd.h: same.
+
 2000-12-13  Neil Booth  <neil@daikokuya.demon.co.uk>
 
         * cppfiles.c (read_name_map): Return null if open () fails.
index 5dff663a66b0358a646dc88150bca04f26a51363..fa2a285239d9e77474e751feaaf459aa70c74e92 100644 (file)
@@ -67,6 +67,8 @@ do {                                                          \
     fprintf (asm_out_text_file, "\t.section %s,\"ax\",@progbits\n", (NAME)); \
   else if ((DECL) && DECL_READONLY_SECTION (DECL, RELOC))      \
     fprintf (F, "\t.section %s,\"a\",@progbits\n", (NAME));    \
+  else if (! strcmp (NAME, ".bss"))                             \
+    fprintf (F, "\t.section %s,\"aw\",@nobits\n", (NAME));      \
   else                                                         \
     fprintf (F, "\t.section %s,\"aw\",@progbits\n", (NAME));   \
 } while (0)
index 86d6888de5306660c223908d6427cbd88dac4450..f0b003722307e1195710aea87f2cf44fe2c99044 100644 (file)
@@ -84,6 +84,8 @@ do {                                                          \
     fprintf (asm_out_text_file, "\t.section %s,\"ax\",@progbits\n", (NAME)); \
   else if ((DECL) && DECL_READONLY_SECTION (DECL, RELOC))      \
     fprintf (F, "\t.section %s,\"a\",@progbits\n", (NAME));    \
+  else if (! strcmp (NAME, ".bss"))                            \
+    fprintf (F, "\t.section %s,\"aw\",@nobits\n", (NAME));     \
   else                                                         \
     fprintf (F, "\t.section %s,\"aw\",@progbits\n", (NAME));   \
 } while (0)
index 07c08bbb78d3c529701986aee8cc8da087d30868..3c888531238c8f7248412e3fc6b9156be3b60f93 100644 (file)
@@ -379,6 +379,8 @@ do {                                                                        \
     fprintf (asm_out_text_file, "\t.section %s,1,6,4,4\n", (NAME));    \
   else if ((DECL) && DECL_READONLY_SECTION (DECL, RELOC))              \
     fprintf (F, "\t.section %s,1,2,0,8\n", (NAME));                    \
+  else if (! strcmp (NAME, ".bss"))                                    \
+    fprintf (F, "\t.section %s,\"aw\",@nobits\n", (NAME));             \
   else                                                                 \
     fprintf (F, "\t.section %s,1,3,0,8\n", (NAME));                    \
 } while (0)
index 826d41c178b55ca48201330da13c9e8e09b9c800..e3f7821aac7a9f9a8ef9be52247e12c57443ec10 100644 (file)
@@ -214,6 +214,8 @@ do {                                                                         \
     fprintf (asm_out_text_file, "\t.section %s,\"ax\",@progbits\n", (NAME)); \
   else if ((DECL) && DECL_READONLY_SECTION (DECL, RELOC))                    \
     fprintf (F, "\t.section %s,\"a\",@progbits\n", (NAME));                  \
+  else if (! strcmp (NAME, ".bss"))                                         \
+    fprintf (F, "\t.section %s,\"aw\",@nobits\n", (NAME));                  \
   else                                                                       \
     fprintf (F, "\t.section %s,\"aw\",@progbits\n", (NAME));                 \
 } while (0)
index 3440b4231234184547f4ce0e4f26a68fffb9a6ea..14a1594c3376b82ba2dcd3828d1ca98e9516e003 100644 (file)
@@ -115,6 +115,8 @@ do {                                                                         \
     fprintf (asm_out_text_file, "\t.section %s,\"ax\",@progbits\n", (NAME)); \
   else if ((DECL) && DECL_READONLY_SECTION (DECL, RELOC))                    \
     fprintf (F, "\t.section %s,\"a\",@progbits\n", (NAME));                  \
+  else if (! strcmp (NAME, ".bss"))                                         \
+    fprintf (F, "\t.section %s,\"aw\",@nobits\n", (NAME));                  \
   else                                                                       \
     fprintf (F, "\t.section %s,\"aw\",@progbits\n", (NAME));                 \
 } while (0)