varasm.c (text_section): Allow TEXT_SECTION to override the printing of TEXT_SECTION_...
authorRichard Henderson <rth@redhat.com>
Fri, 17 Aug 2001 18:57:51 +0000 (11:57 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 17 Aug 2001 18:57:51 +0000 (11:57 -0700)
commitf99ffb608b3069da8ac2b9f25c61c4b4ad77f571
tree90b323eb19d0d77a62d5a276e6c63d57dc653568
parent61f38a77a0c4f467c59707ce434d34eae52d6692
varasm.c (text_section): Allow TEXT_SECTION to override the printing of TEXT_SECTION_ASM_OP.

        * varasm.c (text_section): Allow TEXT_SECTION to override the
        printing of TEXT_SECTION_ASM_OP.
        * dwarf2out.c (TEXT_SECTION_NAME): Rename from TEXT_SECTION.
        (DATA_SECTION, BSS_SECTION): Remove.
        * dwarfout.c (TEXT_SECTION_NAME, DATA_SECTION_NAME, DATA1_SECTION_NAME,
        RODATA_SECTION_NAME, RODATA1_SECTION_NAME, BSS_SECTION_NAME):
        Rename from s/_NAME//.
        * config/mips/mips.h (TARGET_FILE_SWITCHING): Add !TARGET_MIPS16.
        (ASM_DECLARE_FUNCTION_NAME): Move file switching ...
        (TEXT_SECTION): ... here.  New.
        * config/mips/elf.h (TEXT_SECTION): New; no file switching.
        * config/mips/elf64.h, config/mips/netbsd.h: Likewise.
        * config/mips/openbsd.h: Likewise.
        * config/mips/mips.c (mips_asm_file_start): Tidy file switching test.
        (mips_asm_file_end): Likewise test.
        (mips_output_function_epilogue): Likewise.  Switch back to data
        section after emitting the function.

From-SVN: r44973
gcc/ChangeLog
gcc/config/mips/elf.h
gcc/config/mips/elf64.h
gcc/config/mips/mips.c
gcc/config/mips/mips.h
gcc/config/mips/netbsd.h
gcc/config/mips/openbsd.h
gcc/dwarf2out.c
gcc/dwarfout.c
gcc/varasm.c