summaryrefslogtreecommitdiff
path: root/lib/gcc/x86_64-linux-android/4.7/include/stdnoreturn.h
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2013-07-17 17:35:46 -0700
committerAndrew Hsieh <andrewhsieh@google.com>2013-08-02 21:44:40 -0700
commit6ed8bc71997e0dc6877bccc1e2ce75a73b6d8b56 (patch)
tree43677cb21e54f3b9512a2a222d353b7728eb8499 /lib/gcc/x86_64-linux-android/4.7/include/stdnoreturn.h
parent4ddebe05a38829b8630c9271019895ed68d78ec1 (diff)
downloadx86_64-linux-android-4.7-6ed8bc71997e0dc6877bccc1e2ce75a73b6d8b56.tar.gz
New x86 toolchain: x86_64-linux-android-4.7 (darwin-x86)
This toolchain can generates x86, x32, and x86_64 (default) code. Android build system already adds "-m32" to HOST_GLOBAL_CFLAGS and HOST_GLOBAL_LDFLAGS for projects to compiled in x86. Build instructions: export AOSP=your-AOSP-path cd $AOSP/development/ndk/platforms/android-9 ln -s arch-x86 arch-x86_64 export NDK=$AOSP/ndk cd $NDK ; ./build/tools/dev-cleanup.sh ./build/tools/download-toolchain-sources.sh /tmp/ndk-$USER/src ./build/tools/gen-platforms.sh --minimal --dst-dir=$NDK --ndk-dir=$NDK --arch=x86_64 ./build/tools/build-gcc.sh /tmp/ndk-$USER/src $NDK x86_64-4.7 --try-64 rm -rf $NDK/toolchains/x86_64-4.7/prebuilt/darwin-x86_64/sysroot cp -a $NDK/toolchains/x86_64-4.7/prebuilt/darwin-x86_64/* \ $AOSP/prebuilts/gcc/darwin-x86_64/x86/x86_64-linux-android-4.7 Change-Id: Id5f67bc627cad1d7f28c7c7cafd7ca286d8c2422
Diffstat (limited to 'lib/gcc/x86_64-linux-android/4.7/include/stdnoreturn.h')
-rw-r--r--lib/gcc/x86_64-linux-android/4.7/include/stdnoreturn.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/lib/gcc/x86_64-linux-android/4.7/include/stdnoreturn.h b/lib/gcc/x86_64-linux-android/4.7/include/stdnoreturn.h
new file mode 100644
index 0000000..3efbd8a
--- /dev/null
+++ b/lib/gcc/x86_64-linux-android/4.7/include/stdnoreturn.h
@@ -0,0 +1,35 @@
+/* Copyright (C) 2011 Free Software Foundation, Inc.
+
+This file is part of GCC.
+
+GCC 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 3, or (at your option)
+any later version.
+
+GCC 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.
+
+Under Section 7 of GPL version 3, you are granted additional
+permissions described in the GCC Runtime Library Exception, version
+3.1, as published by the Free Software Foundation.
+
+You should have received a copy of the GNU General Public License and
+a copy of the GCC Runtime Library Exception along with this program;
+see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
+<http://www.gnu.org/licenses/>. */
+
+/* ISO C1X: 7.23 _Noreturn <stdnoreturn.h>. */
+
+#ifndef _STDNORETURN_H
+#define _STDNORETURN_H
+
+#ifndef __cplusplus
+
+#define noreturn _Noreturn
+
+#endif
+
+#endif /* stdnoreturn.h */