summaryrefslogtreecommitdiff
path: root/gcc/config/mips/netbsd.h
diff options
context:
space:
mode:
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-13 19:36:48 +0000
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-13 19:36:48 +0000
commitcbc5cfc9e0b7c24fc1362b99da4331016ae25663 (patch)
tree35adf3fe734ade37b7e747f8f428d9b3ee91ef4f /gcc/config/mips/netbsd.h
parent8296733b32bfc599773a136fecded1680b9dcf77 (diff)
downloadgcc-cbc5cfc9e0b7c24fc1362b99da4331016ae25663.tar.gz
(ASM_OUTPUT_SECTION_NAME): emit @nobits
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38228 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips/netbsd.h')
-rw-r--r--gcc/config/mips/netbsd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/mips/netbsd.h b/gcc/config/mips/netbsd.h
index 826d41c178b..e3f7821aac7 100644
--- a/gcc/config/mips/netbsd.h
+++ b/gcc/config/mips/netbsd.h
@@ -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)