diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2000-12-13 19:36:48 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2000-12-13 19:36:48 +0000 |
commit | a65fd88acf37bf473a7ac7bc8dce419730d8d9ea (patch) | |
tree | 35adf3fe734ade37b7e747f8f428d9b3ee91ef4f /gcc | |
parent | 8767c8949a91f202f503b481aa4343f3b3fdf938 (diff) | |
download | gcc-a65fd88acf37bf473a7ac7bc8dce419730d8d9ea.zip gcc-a65fd88acf37bf473a7ac7bc8dce419730d8d9ea.tar.gz gcc-a65fd88acf37bf473a7ac7bc8dce419730d8d9ea.tar.bz2 |
(ASM_OUTPUT_SECTION_NAME): emit @nobits
From-SVN: r38228
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/config/mips/elf.h | 2 | ||||
-rw-r--r-- | gcc/config/mips/elf64.h | 2 | ||||
-rw-r--r-- | gcc/config/mips/iris6.h | 2 | ||||
-rw-r--r-- | gcc/config/mips/netbsd.h | 2 | ||||
-rw-r--r-- | gcc/config/mips/openbsd.h | 2 |
6 files changed, 19 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index aa8d3ac..8666e40 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/mips/elf.h b/gcc/config/mips/elf.h index 5dff663..fa2a285 100644 --- a/gcc/config/mips/elf.h +++ b/gcc/config/mips/elf.h @@ -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) diff --git a/gcc/config/mips/elf64.h b/gcc/config/mips/elf64.h index 86d6888..f0b0037 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) diff --git a/gcc/config/mips/iris6.h b/gcc/config/mips/iris6.h index 07c08bb..3c88853 100644 --- a/gcc/config/mips/iris6.h +++ b/gcc/config/mips/iris6.h @@ -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) diff --git a/gcc/config/mips/netbsd.h b/gcc/config/mips/netbsd.h index 826d41c..e3f7821 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) diff --git a/gcc/config/mips/openbsd.h b/gcc/config/mips/openbsd.h index 3440b42..14a1594 100644 --- a/gcc/config/mips/openbsd.h +++ b/gcc/config/mips/openbsd.h @@ -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) |