diff options
author | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | 2004-02-09 17:54:47 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2004-02-09 17:54:47 +0000 |
commit | 756f76d0d2ad3b7d99e335d40bf17749550da45d (patch) | |
tree | 446aa43002183f3fef3fffc64af084a8b66c04d5 /gcc/config/mips/iris6.h | |
parent | 426ca3cab011d9ac7d02cec499902f4470aacd93 (diff) | |
download | gcc-756f76d0d2ad3b7d99e335d40bf17749550da45d.zip gcc-756f76d0d2ad3b7d99e335d40bf17749550da45d.tar.gz gcc-756f76d0d2ad3b7d99e335d40bf17749550da45d.tar.bz2 |
iris5.h (BSS_SECTION_ASM_OP): Define.
* config/mips/iris5.h (BSS_SECTION_ASM_OP): Define.
* config/mips/iris6.h (BSS_SECTION_ASM_OP): Undef.
* config/mips/iris6.h (TARGET_ASM_NAMED_SECTION): Moved ...
* config/mips/iris5.h: ... here.
* config/mips/iris5gas.h (TARGET_ASM_NAMED_SECTION): Remove.
* config/mips/iris6.h (EXTRA_SECTION_FUNCTIONS): Move ...
* config/mips/iris5.h: ... here.
From-SVN: r77546
Diffstat (limited to 'gcc/config/mips/iris6.h')
-rw-r--r-- | gcc/config/mips/iris6.h | 45 |
1 files changed, 1 insertions, 44 deletions
diff --git a/gcc/config/mips/iris6.h b/gcc/config/mips/iris6.h index 6dfc98d..b2bcb1a 100644 --- a/gcc/config/mips/iris6.h +++ b/gcc/config/mips/iris6.h @@ -288,6 +288,7 @@ Boston, MA 02111-1307, USA. */ and dtor lists this way, so we use -init and -fini to invoke the do_global_* functions instead of running collect2. */ +#undef BSS_SECTION_ASM_OP #define BSS_SECTION_ASM_OP_32 "\t.data" #define BSS_SECTION_ASM_OP_64 "\t.section\t.bss" #define BSS_SECTION_ASM_OP \ @@ -303,10 +304,6 @@ Boston, MA 02111-1307, USA. */ ? READONLY_DATA_SECTION_ASM_OP_64 \ : READONLY_DATA_SECTION_ASM_OP_32) -/* Switch into a generic section. */ -#undef TARGET_ASM_NAMED_SECTION -#define TARGET_ASM_NAMED_SECTION irix_asm_named_section - /* The default definition in defaults.h cannot cope with the runtime-variable definition of DWARF2_UNWIND_INFO above, so define here explicitly. */ #define EH_FRAME_SECTION_NAME ".eh_frame" @@ -336,46 +333,6 @@ Boston, MA 02111-1307, USA. */ #endif /* _MIPS_SIM == _ABIO32 && !GAS */ -/* Define functions to read the name and flags of the current section. - They are used by irix_asm_output_align. */ - -#undef EXTRA_SECTION_FUNCTIONS -#define EXTRA_SECTION_FUNCTIONS \ -const char * \ -current_section_name (void) \ -{ \ - switch (in_section) \ - { \ - case no_section: return NULL; \ - case in_text: return ".text"; \ - case in_data: return ".data"; \ - case in_bss: return ".bss"; \ - case in_readonly_data: \ - if (mips_abi != ABI_32 && mips_abi != ABI_O64) \ - return ".rodata"; \ - else \ - return ".rdata"; \ - case in_named: \ - return in_named_name; \ - } \ - abort (); \ -} \ - \ -unsigned int \ -current_section_flags (void) \ -{ \ - switch (in_section) \ - { \ - case no_section: return 0; \ - case in_text: return SECTION_CODE; \ - case in_data: return SECTION_WRITE; \ - case in_bss: return SECTION_WRITE | SECTION_BSS; \ - case in_readonly_data: return 0; \ - case in_named: return get_named_section_flags (in_named_name); \ - } \ - abort (); \ -} - /* SGI assembler needs all sorts of extra help to do alignment properly. */ #undef ASM_OUTPUT_ALIGN #define ASM_OUTPUT_ALIGN irix_asm_output_align |