mirror of git://gcc.gnu.org/git/gcc.git
configure.ac: Add mips*-*-rtems* support.
2011-02-07 Joel Sherrill <joel.sherrill@oarcorp.com> * configure.ac: Add mips*-*-rtems* support. * configure: Regenerate. * src/mips/ffitarget.h: Ensure needed constants are available for targets which do not have sgidefs.h. From-SVN: r169936
This commit is contained in:
parent
e1c5225a76
commit
38db4d09fa
|
|
@ -1,3 +1,10 @@
|
||||||
|
2011-02-07 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
|
* configure.ac: Add mips*-*-rtems* support.
|
||||||
|
* configure: Regenerate.
|
||||||
|
* src/mips/ffitarget.h: Ensure needed constants are available
|
||||||
|
for targets which do not have sgidefs.h.
|
||||||
|
|
||||||
2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
|
2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
|
||||||
|
|
||||||
PR target/40125
|
PR target/40125
|
||||||
|
|
|
||||||
|
|
@ -11391,7 +11391,7 @@ case "$host" in
|
||||||
TARGET=M68K; TARGETDIR=m68k
|
TARGET=M68K; TARGETDIR=m68k
|
||||||
;;
|
;;
|
||||||
|
|
||||||
mips-sgi-irix5.* | mips-sgi-irix6.*)
|
mips-sgi-irix5.* | mips-sgi-irix6.* | mips*-*-rtems*)
|
||||||
TARGET=MIPS; TARGETDIR=mips
|
TARGET=MIPS; TARGETDIR=mips
|
||||||
;;
|
;;
|
||||||
mips*-*-linux*)
|
mips*-*-linux*)
|
||||||
|
|
|
||||||
|
|
@ -114,7 +114,7 @@ case "$host" in
|
||||||
TARGET=M68K; TARGETDIR=m68k
|
TARGET=M68K; TARGETDIR=m68k
|
||||||
;;
|
;;
|
||||||
|
|
||||||
mips-sgi-irix5.* | mips-sgi-irix6.*)
|
mips-sgi-irix5.* | mips-sgi-irix6.* | mips*-*-rtems*)
|
||||||
TARGET=MIPS; TARGETDIR=mips
|
TARGET=MIPS; TARGETDIR=mips
|
||||||
;;
|
;;
|
||||||
mips*-*-linux*)
|
mips*-*-linux*)
|
||||||
|
|
|
||||||
|
|
@ -29,9 +29,17 @@
|
||||||
|
|
||||||
#ifdef linux
|
#ifdef linux
|
||||||
# include <asm/sgidefs.h>
|
# include <asm/sgidefs.h>
|
||||||
|
#elif defined(__rtems__)
|
||||||
|
/*
|
||||||
|
* Subprogram calling convention - copied from sgidefs.h
|
||||||
|
*/
|
||||||
|
#define _MIPS_SIM_ABI32 1
|
||||||
|
#define _MIPS_SIM_NABI32 2
|
||||||
|
#define _MIPS_SIM_ABI64 3
|
||||||
#else
|
#else
|
||||||
# include <sgidefs.h>
|
# include <sgidefs.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
# ifndef _ABIN32
|
# ifndef _ABIN32
|
||||||
# define _ABIN32 _MIPS_SIM_NABI32
|
# define _ABIN32 _MIPS_SIM_NABI32
|
||||||
# endif
|
# endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue