diff options
author | YamaArashi <shadow962@live.com> | 2016-01-06 01:47:28 -0800 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-01-06 01:47:28 -0800 |
commit | be8b04496302184c6e8f04d6179f9c3afc50aeb6 (patch) | |
tree | 726e2468c0c07add773c0dbd86ab6386844259ae /gcc/config/rs6000/sysv4le.h |
initial commit
Diffstat (limited to 'gcc/config/rs6000/sysv4le.h')
-rwxr-xr-x | gcc/config/rs6000/sysv4le.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/gcc/config/rs6000/sysv4le.h b/gcc/config/rs6000/sysv4le.h new file mode 100755 index 0000000..d444a1a --- /dev/null +++ b/gcc/config/rs6000/sysv4le.h @@ -0,0 +1,54 @@ +/* Target definitions for GNU compiler for a little endian PowerPC + running System V.4 + Copyright (C) 1995, 1998 Free Software Foundation, Inc. + Contributed by Cygnus Support. + +This file is part of GNU CC. + +GNU CC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU CC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU CC; see the file COPYING. If not, write to +the Free Software Foundation, 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. */ + +#include "rs6000/sysv4.h" + +#undef TARGET_DEFAULT +#define TARGET_DEFAULT (MASK_POWERPC | MASK_NEW_MNEMONICS | MASK_LITTLE_ENDIAN) + +#undef CPP_ENDIAN_DEFAULT_SPEC +#define CPP_ENDIAN_DEFAULT_SPEC "%(cpp_endian_little)" + +#undef CC1_ENDIAN_DEFAULT_SPEC +#define CC1_ENDIAN_DEFAULT_SPEC "%(cc1_endian_little)" + +#undef LINK_TARGET_SPEC +#define LINK_TARGET_SPEC "\ +%{mbig: -oformat elf32-powerpc } %{mbig-endian: -oformat elf32-powerpc } \ +%{!mlittle: %{!mlittle-endian: %{!mbig: %{!mbig-endian: \ + %{cygnus-local-vmakarov: } \ + %{mcall-i960-old: -oformat elf32-powerpcle} \ + %{end-cygnus-local: } \ + %{mcall-solaris: -oformat elf32-powerpcle} \ + %{mcall-linux: -oformat elf32-powerpc}}}}}" + +/* Define this macro as a C expression for the initializer of an + array of string to tell the driver program which options are + defaults for this target and thus do not need to be handled + specially when using `MULTILIB_OPTIONS'. + + Do not define this macro if `MULTILIB_OPTIONS' is not defined in + the target makefile fragment or if none of the options listed in + `MULTILIB_OPTIONS' are set by default. *Note Target Fragment::. */ + +#undef MULTILIB_DEFAULTS +#define MULTILIB_DEFAULTS { "mlittle", "mcall-sysv" } |