From 51a79912e0f70d7fd63a98807e69d74cebdf708d Mon Sep 17 00:00:00 2001 From: Alex White Date: Tue, 29 Aug 2023 20:32:18 -0500 Subject: microblaze: Add link options to dl07, dl08, and dl09 This adds `-u__extendsfdf2` to the `ldflags` for the dl07, dl08, and dl09 tests to force the inclusion of `__extendsfdf2` in the base image. This function is part of the GCC software floating point library and is used in the tests to convert floats to doubles when calling `printf`. --- spec/build/testsuites/libtests/dl07.yml | 5 ++++- spec/build/testsuites/libtests/dl08.yml | 5 ++++- spec/build/testsuites/libtests/dl09.yml | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/spec/build/testsuites/libtests/dl07.yml b/spec/build/testsuites/libtests/dl07.yml index 31b8e28942..f8e27fa9c3 100644 --- a/spec/build/testsuites/libtests/dl07.yml +++ b/spec/build/testsuites/libtests/dl07.yml @@ -33,7 +33,10 @@ enabled-by: - BUILD_LIBDL includes: - testsuites/libtests/dl07 -ldflags: [] +ldflags: +- enabled-by: + - microblaze + value: -u__extendsfdf2 links: [] prepare-build: null prepare-configure: null diff --git a/spec/build/testsuites/libtests/dl08.yml b/spec/build/testsuites/libtests/dl08.yml index 0467ca3c4c..34ed1ba67b 100644 --- a/spec/build/testsuites/libtests/dl08.yml +++ b/spec/build/testsuites/libtests/dl08.yml @@ -38,7 +38,10 @@ enabled-by: - BUILD_LIBDL includes: - testsuites/libtests/dl08 -ldflags: [] +ldflags: +- enabled-by: + - microblaze + value: -u__extendsfdf2 links: [] prepare-build: null prepare-configure: null diff --git a/spec/build/testsuites/libtests/dl09.yml b/spec/build/testsuites/libtests/dl09.yml index bada446d16..0fcc631122 100644 --- a/spec/build/testsuites/libtests/dl09.yml +++ b/spec/build/testsuites/libtests/dl09.yml @@ -33,7 +33,10 @@ enabled-by: - BUILD_LIBDL includes: - testsuites/libtests/dl09 -ldflags: [] +ldflags: +- enabled-by: + - microblaze + value: -u__extendsfdf2 links: [] prepare-build: null prepare-configure: null -- cgit v1.2.3