eabi.h revision 90075
190075Sobrien/* Core target definitions for GNU compiler 290075Sobrien for IBM RS/6000 PowerPC targeted to embedded ELF systems. 390075Sobrien Copyright (C) 1995, 1996, 2000 Free Software Foundation, Inc. 490075Sobrien Contributed by Cygnus Support. 590075Sobrien 690075SobrienThis file is part of GNU CC. 790075Sobrien 890075SobrienGNU CC is free software; you can redistribute it and/or modify 990075Sobrienit under the terms of the GNU General Public License as published by 1090075Sobrienthe Free Software Foundation; either version 2, or (at your option) 1190075Sobrienany later version. 1290075Sobrien 1390075SobrienGNU CC is distributed in the hope that it will be useful, 1490075Sobrienbut WITHOUT ANY WARRANTY; without even the implied warranty of 1590075SobrienMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1690075SobrienGNU General Public License for more details. 1790075Sobrien 1890075SobrienYou should have received a copy of the GNU General Public License 1990075Sobrienalong with GNU CC; see the file COPYING. If not, write to 2090075Sobrienthe Free Software Foundation, 59 Temple Place - Suite 330, 2190075SobrienBoston, MA 02111-1307, USA. */ 2290075Sobrien 2390075Sobrien/* Add -meabi to target flags */ 2490075Sobrien#undef TARGET_DEFAULT 2590075Sobrien#define TARGET_DEFAULT (MASK_POWERPC | MASK_NEW_MNEMONICS | MASK_EABI) 2690075Sobrien 2790075Sobrien/* Invoke an initializer function to set up the GOT */ 2890075Sobrien#define NAME__MAIN "__eabi" 2990075Sobrien#define INVOKE__main 3090075Sobrien 3190075Sobrien#undef TARGET_VERSION 3290075Sobrien#define TARGET_VERSION fprintf (stderr, " (PowerPC Embedded)"); 3390075Sobrien 3490075Sobrien#undef CPP_PREDEFINES 3590075Sobrien#define CPP_PREDEFINES \ 3690075Sobrien "-DPPC -D__embedded__ -Asystem=embedded -Acpu=powerpc -Amachine=powerpc" 37