[rtems commit] microblaze: Add link options to dl07, dl08, and dl09

Joel Sherrill joel at rtems.org
Wed Aug 30 15:43:11 UTC 2023


Module:    rtems
Branch:    master
Commit:    51a79912e0f70d7fd63a98807e69d74cebdf708d
Changeset: http://git.rtems.org/rtems/commit/?id=51a79912e0f70d7fd63a98807e69d74cebdf708d

Author:    Alex White <alex.white at oarcorp.com>
Date:      Tue Aug 29 20:32:18 2023 -0500

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



More information about the vc mailing list