1 # This file is generated from configure.ac by Autoconf. DO NOT EDIT!
2 # Local configure fragment for sysdeps/riscv/elf.
4 # Check if static linker supports R_RISCV_ALIGN
5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for R_RISCV_ALIGN linker relaxation support" >&5
6 $as_echo_n "checking for R_RISCV_ALIGN linker relaxation support... " >&6; }
7 if ${libc_cv_riscv_r_align+:} false; then :
8 $as_echo_n "(cached) " >&6
10 cat > conftest.S <<EOF
16 libc_cv_riscv_r_align=no
17 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -nostdlib -nostartfiles $no_ssp -shared -fPIC -o contests.o conftest.S'
18 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22 test $ac_status = 0; }; }
24 libc_cv_riscv_r_align=yes
28 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_riscv_r_align" >&5
29 $as_echo "$libc_cv_riscv_r_align" >&6; }
30 config_vars="$config_vars
31 riscv-r-align = $libc_cv_riscv_r_align"