summaryrefslogtreecommitdiff
path: root/gcc/config/mips/iris5gas.h
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-09 06:55:15 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-09 06:55:15 +0000
commit6566ac7434d68d97b5f1ac5ac377b5f7938a4635 (patch)
tree5b78c9b75f15af63343c14de43c1814712f0ee79 /gcc/config/mips/iris5gas.h
parent5e90539e0f1c0b9e7373947e71465e466c8ea363 (diff)
downloadgcc-6566ac7434d68d97b5f1ac5ac377b5f7938a4635.tar.gz
PR target/10913
* config/mips/mips.h (TARGET_FILE_SWITCHING, NO_DBX_FUNCTION_END, PUT_SDB_SCL, PUT_SDB_INT_VAL, PUT_SDB_VAL, PUT_SDB_ENDEF, PUT_SDB_TYPE, PUT_SDB_SIZE, PUT_SDB_DIM, PUT_SDB_START_DIM, PUT_SDB_NEXT_DIM, PUT_SDB_LAST_DIM, PUT_SDB_TAG, PUT_SDB_SRC_FILE, SDB_GENERATE_FAKE, TEXT_SECTION): Delete. (PUT_SDB_DEF, PUT_SDB_PLAIN_DEF, PUT_SDB_BLOCK_START, PUT_SDB_BLOCK_END, PUT_SDB_FUNCTION_END): Replace use of asm_out_text_file with asm_out_file. * config/mips/iris5gas.h (PUT_SDB_SIZE, PUT_SDB_TYPE): Likewise. * config/mips/elf.h (TEXT_SECTION): Undefine. * config/mips/elf64.h (TEXT_SECION): Undefine. * config/mips/openbsd.h (TEXT_SECION): Undefine. * config/mips/mips.c (asm_out_text_file, asm_out_data_file): Delete. (override_options): Disable small-data optimizations unless using gas or explicit relocations. (mips_asm_file_start, mips_asm_file_end, mips_output_function_epilogue, iris6_asm_named_section, iris6_asm_file_start): Remove code for handling TARGET_FILE_SWITCHING. (copy_file_data): Move into TARGET_IRIX6 block. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67653 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips/iris5gas.h')
-rw-r--r--gcc/config/mips/iris5gas.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/gcc/config/mips/iris5gas.h b/gcc/config/mips/iris5gas.h
index 30c3a04c726..c1ec6eb6818 100644
--- a/gcc/config/mips/iris5gas.h
+++ b/gcc/config/mips/iris5gas.h
@@ -50,18 +50,16 @@ crtbegin.o%s"
avoid conflicting with ELF directives. These are only recognized
by gas, anyhow, not the native assembler. */
#undef PUT_SDB_SIZE
-#define PUT_SDB_SIZE(a) \
-do { \
- extern FILE *asm_out_text_file; \
- fprintf (asm_out_text_file, "\t.esize\t" HOST_WIDE_INT_PRINT_DEC ";", \
- (HOST_WIDE_INT) (a)); \
+#define PUT_SDB_SIZE(a) \
+do { \
+ fprintf (asm_out_file, "\t.esize\t" HOST_WIDE_INT_PRINT_DEC ";", \
+ (HOST_WIDE_INT) (a)); \
} while (0)
#undef PUT_SDB_TYPE
-#define PUT_SDB_TYPE(a) \
-do { \
- extern FILE *asm_out_text_file; \
- fprintf (asm_out_text_file, "\t.etype\t0x%x;", (a)); \
+#define PUT_SDB_TYPE(a) \
+do { \
+ fprintf (asm_out_file, "\t.etype\t0x%x;", (a)); \
} while (0)
/* Switch into a generic section. */