summaryrefslogtreecommitdiff
path: root/gcc/config/mips/elf64.h
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2000-12-13 19:36:48 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2000-12-13 19:36:48 +0000
commita65fd88acf37bf473a7ac7bc8dce419730d8d9ea (patch)
tree35adf3fe734ade37b7e747f8f428d9b3ee91ef4f /gcc/config/mips/elf64.h
parent8767c8949a91f202f503b481aa4343f3b3fdf938 (diff)
downloadgcc-a65fd88acf37bf473a7ac7bc8dce419730d8d9ea.tar.gz
(ASM_OUTPUT_SECTION_NAME): emit @nobits
From-SVN: r38228
Diffstat (limited to 'gcc/config/mips/elf64.h')
-rw-r--r--gcc/config/mips/elf64.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/mips/elf64.h b/gcc/config/mips/elf64.h
index 86d6888de53..f0b00372230 100644
--- a/gcc/config/mips/elf64.h
+++ b/gcc/config/mips/elf64.h
@@ -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)