configure.ac (nvptx-*): Hardwire newlib.

* configure.ac (nvptx-*): Hardwire newlib.
	* configure: Rebuilt.

From-SVN: r239836
This commit is contained in:
Nathan Sidwell 2016-08-29 19:09:57 +00:00
parent 414b712949
commit d3ca2257cc
3 changed files with 33 additions and 23 deletions

View File

@ -1,21 +1,26 @@
2016-08-19 Janne Blomqvist <jb@gcc.gnu.org> 2016-08-29 Nathan Sidwell <nathan@acm.org>
* intrinsics/random.c (xor_keys): New array with "secret" keys. * configure.ac (nvptx-*): Hardwire newlib.
(scramble_seed): XOR given seed with xor_keys array rather than * configure: Rebuilt.
shuffling bytes.
(unscramble_seed): Remove function.
(random_seed_i4): Use new scramble_seed.
(random_seed_i8): Likewise.
2016-08-19 Janne Blomqvist <jb@gcc.gnu.org> 2016-08-19 Janne Blomqvist <jb@gcc.gnu.org>
* intrinsics/random.c (master_init): New variable. * intrinsics/random.c (xor_keys): New array with "secret" keys.
(init_rand_state): Move below getosrandom (), maybe initialize (scramble_seed): XOR given seed with xor_keys array rather than
master_state. shuffling bytes.
(random_seed_i4): If called with no arguments, set master_init to (unscramble_seed): Remove function.
false, and reinitialize. If called with PUT=, set master_init to (random_seed_i4): Use new scramble_seed.
true. (random_seed_i8): Likewise.
(random_seed_i8): Likewise.
2016-08-19 Janne Blomqvist <jb@gcc.gnu.org>
* intrinsics/random.c (master_init): New variable.
(init_rand_state): Move below getosrandom (), maybe initialize
master_state.
(random_seed_i4): If called with no arguments, set master_init to
false, and reinitialize. If called with PUT=, set master_init to
true.
(random_seed_i8): Likewise.
2016-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 2016-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
@ -41,14 +46,15 @@
PR libgfortran/48852 PR libgfortran/48852
* io/write.c: Cleaned up whitespace. * io/write.c: Cleaned up whitespace.
(write_d, write_e, write_f, write_es, write_en): Use new helper function (write_d, write_e, write_f, write_es, write_en): Use new helper
write_float_0. (write_float_0): New helper function. function write_float_0.
(write_float_0): New helper function.
(get_precision, select_buffer, select_string, write_float_string): New (get_precision, select_buffer, select_string, write_float_string): New
helper functions used in remaining float writing functions. Helper function helper functions used in remaining float writing functions.
write_float_string now contains code for writing to kind=4 character Helper function write_float_string now contains code for writing
internal units. to kind=4 character internal units.
(write_real): Modified to establish working buffers at this level and to (write_real): Modified to establish working buffers at this level
use new helper functions. and to use new helper functions.
(write_real_g0): Likewise modified. (write_real_g0): Likewise modified.
(write_complex): Likewise modified. Gets both float strings before (write_complex): Likewise modified. Gets both float strings before
output so that final lengths can be determined which allows right output so that final lengths can be determined which allows right

View File

@ -10308,7 +10308,7 @@ _LT_EOF
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
else else
export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
fi fi
aix_use_runtimelinking=no aix_use_runtimelinking=no
@ -14157,7 +14157,7 @@ _LT_EOF
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
export_symbols_cmds_FC='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' export_symbols_cmds_FC='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
else else
export_symbols_cmds_FC='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' export_symbols_cmds_FC='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
fi fi
aix_use_runtimelinking=no aix_use_runtimelinking=no
@ -16471,6 +16471,8 @@ fi
case "${host}--x${with_newlib}" in case "${host}--x${with_newlib}" in
mips*--xyes) mips*--xyes)
hardwire_newlib=1;; hardwire_newlib=1;;
nvptx*--xyes)
hardwire_newlib=1;;
esac esac
# Check for library functions. # Check for library functions.

View File

@ -276,6 +276,8 @@ AC_CHECK_MEMBERS([struct stat.st_blksize, struct stat.st_blocks, struct stat.st_
case "${host}--x${with_newlib}" in case "${host}--x${with_newlib}" in
mips*--xyes) mips*--xyes)
hardwire_newlib=1;; hardwire_newlib=1;;
nvptx*--xyes)
hardwire_newlib=1;;
esac esac
# Check for library functions. # Check for library functions.