[llvm-commits] [llvm] r134282 - in /llvm/trunk: autoconf/configure.ac configure include/llvm/ADT/Triple.h lib/Support/Triple.cpp
Douglas Gregor
dgregor at apple.com
Fri Jul 1 15:41:06 PDT 2011
Author: dgregor
Date: Fri Jul 1 17:41:06 2011
New Revision: 134282
URL: http://llvm.org/viewvc/llvm-project?rev=134282&view=rev
Log:
Add initial *-*-rtems* target, from Joel Sherrill
Modified:
llvm/trunk/autoconf/configure.ac
llvm/trunk/configure
llvm/trunk/include/llvm/ADT/Triple.h
llvm/trunk/lib/Support/Triple.cpp
Modified: llvm/trunk/autoconf/configure.ac
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/autoconf/configure.ac?rev=134282&r1=134281&r2=134282&view=diff
==============================================================================
--- llvm/trunk/autoconf/configure.ac (original)
+++ llvm/trunk/autoconf/configure.ac Fri Jul 1 17:41:06 2011
@@ -297,6 +297,8 @@
llvm_cv_target_os_type="MingW" ;;
*-*-haiku*)
llvm_cv_target_os_type="Haiku" ;;
+ *-*-rtems*)
+ llvm_cv_target_os_type="RTEMS" ;;
*-unknown-eabi*)
llvm_cv_target_os_type="Freestanding" ;;
*)
Modified: llvm/trunk/configure
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/configure?rev=134282&r1=134281&r2=134282&view=diff
==============================================================================
--- llvm/trunk/configure (original)
+++ llvm/trunk/configure Fri Jul 1 17:41:06 2011
@@ -2337,6 +2337,8 @@
llvm_cv_target_os_type="MingW" ;;
*-*-haiku*)
llvm_cv_target_os_type="Haiku" ;;
+ *-*-rtems*)
+ llvm_cv_target_os_type="RTEMS" ;;
*-unknown-eabi*)
llvm_cv_target_os_type="Freestanding" ;;
*)
Modified: llvm/trunk/include/llvm/ADT/Triple.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/Triple.h?rev=134282&r1=134281&r2=134282&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/Triple.h (original)
+++ llvm/trunk/include/llvm/ADT/Triple.h Fri Jul 1 17:41:06 2011
@@ -95,7 +95,8 @@
Solaris,
Win32,
Haiku,
- Minix
+ Minix,
+ RTEMS
};
enum EnvironmentType {
UnknownEnvironment,
Modified: llvm/trunk/lib/Support/Triple.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Triple.cpp?rev=134282&r1=134281&r2=134282&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Triple.cpp (original)
+++ llvm/trunk/lib/Support/Triple.cpp Fri Jul 1 17:41:06 2011
@@ -113,6 +113,7 @@
case Win32: return "win32";
case Haiku: return "haiku";
case Minix: return "minix";
+ case RTEMS: return "rtems";
}
return "<invalid>";
More information about the llvm-commits
mailing list