summaryrefslogtreecommitdiffstats
path: root/libssp
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2020-02-12 12:20:15 -0800
committerSandra Loosemore <sandra@codesourcery.com>2020-02-12 13:22:07 -0800
commit02ce382cd323097f9d02fbf91e0a3f59ebcd3d30 (patch)
tree39f4cd0704638598d217061bd9661dfe6dc3d8bc /libssp
parentreal: Fix roundeven on inf/nan [PR93663] (diff)
downloadgcc-02ce382cd323097f9d02fbf91e0a3f59ebcd3d30.tar.gz
gcc-02ce382cd323097f9d02fbf91e0a3f59ebcd3d30.tar.bz2
gcc-02ce382cd323097f9d02fbf91e0a3f59ebcd3d30.tar.xz
Use a non-empty test program to test ability to link.
On bare-metal targets, I/O support is typically provided by a BSP and requires a linker script and/or hosting library to be specified on the linker command line. Linking an empty program with the default linker script may succeed, however, which confuses libstdc++ configuration when programs that probe for the presence of various I/O features fail with link errors. 2020-02-12 Sandra Loosemore <sandra@codesourcery.com> PR libstdc++/79193 PR libstdc++/88999 config/ * no-executables.m4: Use a non-empty program to test for linker support. libgcc/ * configure: Regenerated. libgfortran/ * configure: Regenerated. libiberty/ * configure: Regenerated. libitm/ * configure: Regenerated. libobjc/ * configure: Regenerated. libquadmath/ * configure: Regenerated. libssp/ * configure: Regenerated. libstdc++v-3/ * configure: Regenerated.
Diffstat (limited to 'libssp')
-rw-r--r--libssp/ChangeLog7
-rwxr-xr-xlibssp/configure4
2 files changed, 9 insertions, 2 deletions
diff --git a/libssp/ChangeLog b/libssp/ChangeLog
index f1ccde4e36f..9e3e6a687ff 100644
--- a/libssp/ChangeLog
+++ b/libssp/ChangeLog
@@ -1,3 +1,10 @@
12020-02-12 Sandra Loosemore <sandra@codesourcery.com>
2
3 PR libstdc++/79193
4 PR libstdc++/88999
5
6 * configure: Regenerated.
7
12020-01-24 Maciej W. Rozycki <macro@wdc.com> 82020-01-24 Maciej W. Rozycki <macro@wdc.com>
2 9
3 * configure.ac: Handle `--with-toolexeclibdir='. 10 * configure.ac: Handle `--with-toolexeclibdir='.
diff --git a/libssp/configure b/libssp/configure
index 5541cf9d972..dd3b41da0f6 100755
--- a/libssp/configure
+++ b/libssp/configure
@@ -3402,11 +3402,11 @@ done
3402 3402
3403cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3403cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3404/* end confdefs.h. */ 3404/* end confdefs.h. */
3405 3405#include <stdio.h>
3406int 3406int
3407main () 3407main ()
3408{ 3408{
3409 3409printf ("hello world\n");
3410 ; 3410 ;
3411 return 0; 3411 return 0;
3412} 3412}