re PR target/10913 (mips-elf ICE in text_section at varasm.c: 241)
authorRichard Sandiford <rsandifo@redhat.com>
Mon, 9 Jun 2003 06:55:15 +0000 (06:55 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 9 Jun 2003 06:55:15 +0000 (06:55 +0000)
commit20db0e3c83848146de105a34a5fc35f7383731b5
tree5b78c9b75f15af63343c14de43c1814712f0ee79
parentaa9dc53d0d9d80cd6c77f2db7cb23bfebf3e9c34
re PR target/10913 (mips-elf ICE in text_section at varasm.c: 241)

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.

From-SVN: r67653
gcc/ChangeLog
gcc/config/mips/elf.h
gcc/config/mips/elf64.h
gcc/config/mips/iris5gas.h
gcc/config/mips/mips.c
gcc/config/mips/mips.h
gcc/config/mips/openbsd.h