1169689Skan/* Target macros for mips*-elf targets. 2169689Skan Copyright (C) 1994, 1997, 1999, 2000, 2002, 2003, 2004 3169689Skan Free Software Foundation, Inc. 4169689Skan 5169689SkanThis file is part of GCC. 6169689Skan 7169689SkanGCC is free software; you can redistribute it and/or modify 8169689Skanit under the terms of the GNU General Public License as published by 9169689Skanthe Free Software Foundation; either version 2, or (at your option) 10169689Skanany later version. 11169689Skan 12169689SkanGCC is distributed in the hope that it will be useful, 13169689Skanbut WITHOUT ANY WARRANTY; without even the implied warranty of 14169689SkanMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15169689SkanGNU General Public License for more details. 16169689Skan 17169689SkanYou should have received a copy of the GNU General Public License 18169689Skanalong with GCC; see the file COPYING. If not, write to 19169689Skanthe Free Software Foundation, 51 Franklin Street, Fifth Floor, 20169689SkanBoston, MA 02110-1301, USA. */ 21169689Skan 22169689Skan/* MIPS assemblers don't have the usual .set foo,bar construct; 23169689Skan .set is used for assembler options instead. */ 24169689Skan#undef SET_ASM_OP 25169689Skan#define ASM_OUTPUT_DEF(FILE, LABEL1, LABEL2) \ 26169689Skan do \ 27169689Skan { \ 28169689Skan fputc ('\t', FILE); \ 29169689Skan assemble_name (FILE, LABEL1); \ 30169689Skan fputs (" = ", FILE); \ 31169689Skan assemble_name (FILE, LABEL2); \ 32169689Skan fputc ('\n', FILE); \ 33169689Skan } \ 34169689Skan while (0) 35169689Skan 36169689Skan#undef ASM_DECLARE_OBJECT_NAME 37169689Skan#define ASM_DECLARE_OBJECT_NAME mips_declare_object_name 38169689Skan 39169689Skan#undef ASM_FINISH_DECLARE_OBJECT 40169689Skan#define ASM_FINISH_DECLARE_OBJECT mips_finish_declare_object 41169689Skan 42169689Skan/* Leave the linker script to choose the appropriate libraries. */ 43169689Skan#undef LIB_SPEC 44169689Skan#define LIB_SPEC "" 45169689Skan 46169689Skan#undef STARTFILE_SPEC 47169689Skan#define STARTFILE_SPEC "crti%O%s crtbegin%O%s" 48169689Skan 49169689Skan#undef ENDFILE_SPEC 50169689Skan#define ENDFILE_SPEC "crtend%O%s crtn%O%s" 51169689Skan 52169689Skan#define NO_IMPLICIT_EXTERN_C 1 53169689Skan 54169689Skan#define HANDLE_PRAGMA_PACK_PUSH_POP 1 55