diff options
author | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-02-12 19:40:17 +0000 |
---|---|---|
committer | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-02-12 19:40:17 +0000 |
commit | fe64d4b431d61b695e126b284d059e8048559e76 (patch) | |
tree | 750c0b89ccefa88cd24110d67422e7f731df162e /gcc/config | |
parent | 508469fee36069e92dc4b01adf6f0db001a71612 (diff) | |
download | ppe42-gcc-fe64d4b431d61b695e126b284d059e8048559e76.tar.gz ppe42-gcc-fe64d4b431d61b695e126b284d059e8048559e76.zip |
In gcc/:
* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Handle
-mcall-i960.
(ASM_SPEC): Likewise.
(CC1_ENDIAN_LITTLE_SPEC): Likewise.
(CC1_SPEC): Likewise.
(LINK_TARGET_SPEC): Likewise.
(CPP_ENDIAN_SPEC): Likewise.
* Makefile.in (check-consistency): New target.
In gcc/testsuite/:
* consistency.vlad: New directory, 1665 files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39609 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/rs6000/sysv4.h | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index da2f0b7313a..db775304209 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -199,6 +199,13 @@ do { \ rs6000_current_abi = ABI_V4; \ else if (!strcmp (rs6000_abi_name, "solaris")) \ rs6000_current_abi = ABI_SOLARIS; \ + else if (!strcmp (rs6000_abi_name, "i960-old")) \ + { \ + rs6000_current_abi = ABI_V4; \ + target_flags |= (MASK_LITTLE_ENDIAN | MASK_EABI \ + | MASK_NO_BITFIELD_WORD); \ + target_flags &= ~MASK_STRICT_ALIGN; \ + } \ else \ { \ rs6000_current_abi = ABI_V4; \ @@ -1061,13 +1068,16 @@ do { \ %{mlittle} %{mlittle-endian} %{mbig} %{mbig-endian} \ %{!mlittle: %{!mlittle-endian: %{!mbig: %{!mbig-endian: \ %{mcall-solaris: -mlittle -msolaris} \ + %{mcall-i960-old: -mlittle} \ %{mcall-linux: -mbig} }}}}" #define CC1_ENDIAN_BIG_SPEC "" #define CC1_ENDIAN_LITTLE_SPEC "\ %{!mstrict-align: %{!mno-strict-align: \ + %{!mcall-i960-old: \ -mstrict-align \ + } \ }}" #define CC1_ENDIAN_DEFAULT_SPEC "%(cc1_endian_big_spec)" @@ -1079,10 +1089,11 @@ do { \ %{!mlittle: %{!mlittle-endian: %{!mbig: %{!mbig-endian: \ %{mcall-aixdesc: -mbig %(cc1_endian_big) } \ %{mcall-solaris: -mlittle %(cc1_endian_little) } \ + %{mcall-i960-old: -mlittle %(cc1_endian_little) } \ %{mcall-linux: -mbig %(cc1_endian_big) } \ - %{!mcall-aixdesc: %{!mcall-solaris: %{!mcall-linux: \ + %{!mcall-aixdesc: %{!mcall-solaris: %{!mcall-i960-old: %{!mcall-linux: \ %(cc1_endian_default) \ - }}} \ + }}}} \ }}}} \ %{mcall-solaris: -mregnames } \ %{mno-sdata: -msdata=none } \ @@ -1090,6 +1101,7 @@ do { \ %{!meabi: %{!mno-eabi: \ %{mrelocatable: -meabi } \ %{mcall-solaris: -mno-eabi } \ + %{mcall-i960-old: -meabi } \ %{mcall-linux: -mno-eabi }}} \ %{msdata: -msdata=default} \ %{mno-sdata: -msdata=none} \ @@ -1163,6 +1175,7 @@ do { \ #define LINK_TARGET_SPEC "\ %{mlittle: --oformat elf32-powerpcle } %{mlittle-endian: --oformat elf32-powerpcle } \ %{!mlittle: %{!mlittle-endian: %{!mbig: %{!mbig-endian: \ + %{mcall-i960-old: --oformat elf32-powerpcle} \ %{mcall-solaris: --oformat elf32-powerpcle} \ }}}}" @@ -1221,6 +1234,7 @@ do { \ %{!mlittle: %{!mlittle-endian: %{!mbig: %{!mbig-endian: \ %{mcall-solaris: %(cpp_endian_solaris) } \ %{mcall-linux: %(cpp_endian_big) } \ + %{mcall-i960-old: %(cpp_endian_little) } \ %{mcall-aixdesc: %(cpp_endian_big) } \ %{!mcall-solaris: %{!mcall-linux: %{!mcall-aixdesc: %(cpp_endian_default) }}}}}}}" |