git: b8df8b0c2e64 - main - libgcc_s: only export 128-bit long double when available
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 16 Apr 2024 21:14:46 UTC
The branch main has been updated by brooks:
URL: https://cgit.FreeBSD.org/src/commit/?id=b8df8b0c2e64b25885f82bd1ba9483ec9b8f497a
commit b8df8b0c2e64b25885f82bd1ba9483ec9b8f497a
Author: Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2024-04-16 17:02:55 +0000
Commit: Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2024-04-16 21:14:21 +0000
libgcc_s: only export 128-bit long double when available
These functions are only available on aarch64 and riscv so only try to
export them on those architectures.
Differential Revision: https://reviews.freebsd.org/D44322
---
lib/libgcc_s/Symbol.map | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/libgcc_s/Symbol.map b/lib/libgcc_s/Symbol.map
index 2aa31ec34542..de19c766fbba 100644
--- a/lib/libgcc_s/Symbol.map
+++ b/lib/libgcc_s/Symbol.map
@@ -148,6 +148,7 @@ GCC_4.3.0 {
__bswapsi2;
};
+#if defined(__aarch64__) || defined(__riscv)
GCC_4.6.0 {
__addtf3;
__cmptf2;
@@ -180,3 +181,4 @@ GCC_4.6.0 {
__trunctfxf2;
__unordtf2;
};
+#endif