From a8a9c7f13a6d03bfc3ed540baf955da6be06e5f3 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Mon, 29 Aug 2016 19:09:57 +0000 Subject: * configure.ac (nvptx-*): Hardwire newlib. * configure: Rebuilt. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@239836 138bc75d-0d04-0410-961f-82ee72b054a4 --- libgfortran/ChangeLog | 46 ++++++++++++++++++++++++++-------------------- libgfortran/configure | 6 ++++-- libgfortran/configure.ac | 2 ++ 3 files changed, 32 insertions(+), 22 deletions(-) diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 10dc07af130..fc9a45416c8 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,21 +1,26 @@ +2016-08-29 Nathan Sidwell + + * configure.ac (nvptx-*): Hardwire newlib. + * configure: Rebuilt. + 2016-08-19 Janne Blomqvist - * intrinsics/random.c (xor_keys): New array with "secret" keys. - (scramble_seed): XOR given seed with xor_keys array rather than - shuffling bytes. - (unscramble_seed): Remove function. - (random_seed_i4): Use new scramble_seed. - (random_seed_i8): Likewise. + * intrinsics/random.c (xor_keys): New array with "secret" keys. + (scramble_seed): XOR given seed with xor_keys array rather than + shuffling bytes. + (unscramble_seed): Remove function. + (random_seed_i4): Use new scramble_seed. + (random_seed_i8): Likewise. 2016-08-19 Janne Blomqvist - * 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. + * 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 @@ -41,14 +46,15 @@ PR libgfortran/48852 * io/write.c: Cleaned up whitespace. - (write_d, write_e, write_f, write_es, write_en): Use new helper function - write_float_0. (write_float_0): New helper function. + (write_d, write_e, write_f, write_es, write_en): Use new helper + function write_float_0. + (write_float_0): New helper function. (get_precision, select_buffer, select_string, write_float_string): New - helper functions used in remaining float writing functions. Helper function - write_float_string now contains code for writing to kind=4 character - internal units. - (write_real): Modified to establish working buffers at this level and to - use new helper functions. + helper functions used in remaining float writing functions. + Helper function write_float_string now contains code for writing + to kind=4 character internal units. + (write_real): Modified to establish working buffers at this level + and to use new helper functions. (write_real_g0): Likewise modified. (write_complex): Likewise modified. Gets both float strings before output so that final lengths can be determined which allows right diff --git a/libgfortran/configure b/libgfortran/configure index f746f6f5d1d..97dc1019335 100755 --- a/libgfortran/configure +++ b/libgfortran/configure @@ -10308,7 +10308,7 @@ _LT_EOF 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' 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 aix_use_runtimelinking=no @@ -14157,7 +14157,7 @@ _LT_EOF 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' 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 aix_use_runtimelinking=no @@ -16471,6 +16471,8 @@ fi case "${host}--x${with_newlib}" in mips*--xyes) hardwire_newlib=1;; + nvptx*--xyes) + hardwire_newlib=1;; esac # Check for library functions. diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac index 8f377bb4b50..3de737dc04f 100644 --- a/libgfortran/configure.ac +++ b/libgfortran/configure.ac @@ -276,6 +276,8 @@ AC_CHECK_MEMBERS([struct stat.st_blksize, struct stat.st_blocks, struct stat.st_ case "${host}--x${with_newlib}" in mips*--xyes) hardwire_newlib=1;; + nvptx*--xyes) + hardwire_newlib=1;; esac # Check for library functions. -- cgit v1.2.3