git: 6e6cd03c911c - main - libc/quad: narrow list of symbols exposed on i386
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 07 Mar 2024 20:12:40 UTC
The branch main has been updated by brooks:
URL: https://cgit.FreeBSD.org/src/commit/?id=6e6cd03c911c0f226e284fc0c5c5ca5e30bea2e9
commit 6e6cd03c911c0f226e284fc0c5c5ca5e30bea2e9
Author: Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2024-03-07 20:09:00 +0000
Commit: Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2024-03-07 20:12:22 +0000
libc/quad: narrow list of symbols exposed on i386
These symbols aren't present on i386 so don't try to expose them.
Given the structure of quad/Makefile.inc, it might make more sense to
have per-arch symbol maps here, but this is sufficent to build with
WITHOUT_UNDEFINED_VERSION on i386.
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D44243
---
lib/libc/quad/Symbol.map | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/lib/libc/quad/Symbol.map b/lib/libc/quad/Symbol.map
index 86fc2ee9c334..81f794acd498 100644
--- a/lib/libc/quad/Symbol.map
+++ b/lib/libc/quad/Symbol.map
@@ -5,8 +5,10 @@ FBSD_1.0 {
* broken and they expect to see them in libc. glibc exports
* them, but they do not appear to be exported in Solaris.
*/
+#ifndef __i386__
__adddi3;
__anddi3;
+#endif
__ashldi3;
__ashrdi3;
__cmpdi2;
@@ -17,18 +19,26 @@ FBSD_1.0 {
__fixunssfdi;
__floatdidf;
__floatdisf;
+#ifndef __i386__
__floatunsdidf;
__iordi3;
__lshldi3;
+#endif
__lshrdi3;
__moddi3;
__muldi3;
__negdi2;
+#ifndef __i386__
__one_cmpldi2;
+#endif
__qdivrem;
+#ifndef __i386__
__subdi3;
+#endif
__ucmpdi2;
__udivdi3;
__umoddi3;
+#ifndef __i386__
__xordi3;
+#endif
};