+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.
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)
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)
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)
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)
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)