annotate libsanitizer/configure.tgt @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 1830386684a0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 # -*- shell-script -*-
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
2 # Copyright (C) 2012-2018 Free Software Foundation, Inc.
111
kono
parents:
diff changeset
3
kono
parents:
diff changeset
4 # This program is free software; you can redistribute it and/or modify
kono
parents:
diff changeset
5 # it under the terms of the GNU General Public License as published by
kono
parents:
diff changeset
6 # the Free Software Foundation; either version 2 of the License, or
kono
parents:
diff changeset
7 # (at your option) any later version.
kono
parents:
diff changeset
8 #
kono
parents:
diff changeset
9 # This program is distributed in the hope that it will be useful,
kono
parents:
diff changeset
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
kono
parents:
diff changeset
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
kono
parents:
diff changeset
12 # GNU General Public License for more details.
kono
parents:
diff changeset
13 #
kono
parents:
diff changeset
14 # You should have received a copy of the GNU General Public License
kono
parents:
diff changeset
15 # along with this program; if not see <http://www.gnu.org/licenses/>.
kono
parents:
diff changeset
16
kono
parents:
diff changeset
17 # This is the target specific configuration file. This is invoked by the
kono
parents:
diff changeset
18 # autoconf generated configure script. Putting it in a separate shell file
kono
parents:
diff changeset
19 # lets us skip running autoconf when modifying target specific information.
kono
parents:
diff changeset
20
kono
parents:
diff changeset
21 # Filter out unsupported systems.
kono
parents:
diff changeset
22 TSAN_TARGET_DEPENDENT_OBJECTS=
kono
parents:
diff changeset
23 SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS=
kono
parents:
diff changeset
24 case "${target}" in
kono
parents:
diff changeset
25 x86_64-*-linux* | i?86-*-linux*)
kono
parents:
diff changeset
26 if test x$ac_cv_sizeof_void_p = x8; then
kono
parents:
diff changeset
27 TSAN_SUPPORTED=yes
kono
parents:
diff changeset
28 LSAN_SUPPORTED=yes
kono
parents:
diff changeset
29 TSAN_TARGET_DEPENDENT_OBJECTS=tsan_rtl_amd64.lo
kono
parents:
diff changeset
30 fi
kono
parents:
diff changeset
31 ;;
kono
parents:
diff changeset
32 powerpc*-*-linux*)
kono
parents:
diff changeset
33 if test x$ac_cv_sizeof_void_p = x8; then
kono
parents:
diff changeset
34 TSAN_SUPPORTED=yes
kono
parents:
diff changeset
35 LSAN_SUPPORTED=yes
kono
parents:
diff changeset
36 TSAN_TARGET_DEPENDENT_OBJECTS=tsan_rtl_ppc64.lo
kono
parents:
diff changeset
37 fi
kono
parents:
diff changeset
38 ;;
kono
parents:
diff changeset
39 sparc*-*-linux*)
kono
parents:
diff changeset
40 ;;
kono
parents:
diff changeset
41 s390*-*-linux*)
kono
parents:
diff changeset
42 ;;
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
43 sparc*-*-solaris2.11*)
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
44 ;;
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
45 arm*-*-*fdpiceabi)
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
46 UNSUPPORTED=1
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
47 ;;
111
kono
parents:
diff changeset
48 arm*-*-linux*)
kono
parents:
diff changeset
49 ;;
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
50 mips*64*-*-linux*)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
51 # This clause is only here to not match the supported mips*-*-linux*.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
52 UNSUPPORTED=1
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
53 ;;
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
54 mips*-*-linux*)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
55 ;;
111
kono
parents:
diff changeset
56 aarch64*-*-linux*)
kono
parents:
diff changeset
57 if test x$ac_cv_sizeof_void_p = x8; then
kono
parents:
diff changeset
58 TSAN_SUPPORTED=yes
kono
parents:
diff changeset
59 LSAN_SUPPORTED=yes
kono
parents:
diff changeset
60 TSAN_TARGET_DEPENDENT_OBJECTS=tsan_rtl_aarch64.lo
kono
parents:
diff changeset
61 fi
kono
parents:
diff changeset
62 ;;
kono
parents:
diff changeset
63 x86_64-*-darwin[1]* | i?86-*-darwin[1]*)
kono
parents:
diff changeset
64 TSAN_SUPPORTED=no
kono
parents:
diff changeset
65 ;;
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
66 x86_64-*-solaris2.11* | i?86-*-solaris2.11*)
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
67 ;;
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
68 riscv64-*-linux*)
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
69 ;;
111
kono
parents:
diff changeset
70 *)
kono
parents:
diff changeset
71 UNSUPPORTED=1
kono
parents:
diff changeset
72 ;;
kono
parents:
diff changeset
73 esac