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
This commit is contained in:
Brooks Davis
2024-04-16 18:02:55 +01:00
parent 35b3504ee6
commit b8df8b0c2e
+2
View File
@@ -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