Print this page
10367 ld(1) tests should be a real test suite
10368 want an ld(1) regression test for i386 LD tls transition (10267)

*** 22,38 **** # not change the default search path so we want to make sure that we use a # different ISA (e.g. 32-bit vs 64-bit) from the binary we're generating. # unalias -a sh_path= sh_lib="lib" sh_lib64="$sh_lib/64" sh_soname="libld.so.4" ! sh_cc="cc" sh_cflags="-m32" ! sh_file="link.c" sh_arg0=$(basename $0) function fatal { local msg="$*" --- 22,40 ---- # not change the default search path so we want to make sure that we use a # different ISA (e.g. 32-bit vs 64-bit) from the binary we're generating. # unalias -a + TESTDIR=$(dirname $0) + sh_path= sh_lib="lib" sh_lib64="$sh_lib/64" sh_soname="libld.so.4" ! sh_cc="gcc" sh_cflags="-m32" ! sh_file="${TESTDIR}/link.c" sh_arg0=$(basename $0) function fatal { local msg="$*"
*** 71,82 **** else fatal $4 fi } ! sh_path=$1 ! [[ -z "$1" ]] && fatal "<proto root>" validate run "-Wl,-zassert-deflib" 0 \ "Testing basic compilation succeeds with warnings..." \ "failed to compile with warnings" --- 73,83 ---- else fatal $4 fi } ! sh_path=${1:-/} validate run "-Wl,-zassert-deflib" 0 \ "Testing basic compilation succeeds with warnings..." \ "failed to compile with warnings"