mc_translate.c: enable further uses of DLexpensive for scalar EQ/NE comparisons
[valgrind.git] / none / tests / allexec_prepare_prereq
bloba541f42994dbea32262c3aa7462f86aa611800a2
1 #! /bin/sh
3 # prepare the hard or soft link allexec32 and allexec64
4 # On 'single arch' compiled Valgrind, allexec32 and allexec64 will point
5 # to the same executable.
6 # On 'bi-arch', they will point respectively to the executable compiled
7 # for the revelant arch.
8 # This allows to test the various exec system calls the same way.
11 pair()
13 if ../../tests/arch_test $1 || ../../tests/arch_test $2
14 then
15 if ../../tests/arch_test $1
16 then
17 ln -f $1/allexec allexec32
18 else
19 ln -f -s allexec64 allexec32
21 if ../../tests/arch_test $2
22 then
23 ln -f $2/allexec allexec64
24 else
25 ln -f -s allexec32 allexec64
31 pair x86 amd64
32 pair ppc32 ppc64
33 pair s390x_unexisting_in_32bits s390x
34 pair arm arm64
35 pair mips32 mips64
36 pair nanomips nanoMIPS_unexisting_in_64bits
38 exit 0