[PATCH v2 6/6] microblaze: Add link options to dl07, dl08, and dl09
Alex White
alex.white at oarcorp.com
Wed Aug 30 02:05:29 UTC 2023
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
--
2.34.1
More information about the devel
mailing list