mips.c (mips_unique_section): New.
authorH.J. Lu <hjl@gnu.org>
Wed, 8 Aug 2001 15:40:57 +0000 (15:40 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 8 Aug 2001 15:40:57 +0000 (08:40 -0700)
commitb2bcb32d2831ec81ba03baba01c0f29998ee748c
tree90c84bf177629043c2093e12abfc569d7a8d4003
parent917004442036172e64e70b1d0a4a7392069af9cd
mips.c (mips_unique_section): New.

2001-08-08  H.J. Lu <hjl@gnu.org>

* config/mips/mips.c (mips_unique_section): New. Copied from
config/mips/elf.h.

* config/mips/mips-protos.h (mips_unique_section): New
prototype.

* config/mips/elf.h (UNIQUE_SECTION): Use mips_unique_section.

* config/mips/little.h: New. Generic little endian mips
targets. Only mips*-*-linux* is converted to use it so far.

* config/mips/linux.h: Include "gofast.h" and "mips/mips.h".
(WCHAR_TYPE): Defined
(WCHAR_TYPE_SIZE): Likewise.
(INIT_SUBTARGET_OPTABS): Likewise.
(BSS_SECTION_ASM_OP): Likewise.
(SBSS_SECTION_ASM_OP): Likewise.
(ASM_OUTPUT_ALIGNED_BSS): Likewise.
(ASM_DECLARE_OBJECT_NAME): Likewise.
(UNIQUE_SECTION): Likewise.
(EXTRA_SECTIONS): Likewise.
(ASM_OUTPUT_CONSTRUCTOR): Likewise.
(ASM_OUTPUT_DESTRUCTOR): Likewise.
(ASM_OUTPUT_DEF): Likewise.
(HANDLE_SYSV_PRAGMA): Removed.
(NO_IMPLICIT_EXTERN_C): Likewise.
(TARGET_MEM_FUNCTIONS): Likewise.
(STARTFILE_SPEC): Likewise.
(ENDFILE_SPEC): Likewise.
(LIB_SPEC): Likewise.
(INVOKE__main): Likewise.
(CTOR_LIST_BEGIN): Likewise.
(CTOR_LIST_END): Likewise.
(DTOR_LIST_BEGIN): Likewise.
(DTOR_LIST_END): Likewise.
(SET_ASM_OP): Likewise.
(ASM_OUTPUT_SOURCE_LINE): Likewise.
(ASM_OUTPUT_DEF): Likewise.
(ASM_OUTPUT_IDENT): Likewise.

* config/mips/mips.h (ASM_SPEC): Undefine before define.
(CPLUSPLUS_CPP_SPEC): Likewise.
(ASM_APP_ON) Redefine only if not defined.
(ASM_APP_OFF): Likewise.
(ASM_OUTPUT_SOURCE_LINE): Likewise.
(ASM_OUTPUT_IDENT): Likewise.

* config.gcc: Update tm_file for Linux/mips.

From-SVN: r44718
gcc/ChangeLog
gcc/config.gcc
gcc/config/mips/elf.h
gcc/config/mips/linux.h
gcc/config/mips/little.h [new file with mode: 0644]
gcc/config/mips/mips-protos.h
gcc/config/mips/mips.c
gcc/config/mips/mips.h