1# This file is generated from configure.ac by Autoconf. DO NOT EDIT! 2 # Local configure fragment for sysdeps/riscv/elf. 3 4$as_echo "#define PI_STATIC_AND_HIDDEN 1" >>confdefs.h 5 6 7# Check if static linker supports R_RISCV_ALIGN 8{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for R_RISCV_ALIGN linker relaxation support" >&5 9$as_echo_n "checking for R_RISCV_ALIGN linker relaxation support... " >&6; } 10if ${libc_cv_riscv_r_align+:} false; then : 11 $as_echo_n "(cached) " >&6 12else 13 cat > conftest.S <<EOF 14.align 3 15foo: 16 li a0,42 17 ret 18EOF 19 libc_cv_riscv_r_align=no 20 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -nostdlib -nostartfiles $no_ssp -shared -fPIC -o contests.o conftest.S' 21 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 22 (eval $ac_try) 2>&5 23 ac_status=$? 24 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 25 test $ac_status = 0; }; } 26 then 27 libc_cv_riscv_r_align=yes 28 fi 29 rm -rf conftest.* 30fi 31{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_riscv_r_align" >&5 32$as_echo "$libc_cv_riscv_r_align" >&6; } 33config_vars="$config_vars 34riscv-r-align = $libc_cv_riscv_r_align" 35