git: 893cf0292352 - stable/15 - libc/quad: Switch to per-arch lists of symbols
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 24 Apr 2026 17:56:12 UTC
The branch stable/15 has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=893cf02923522e85cb0cde979804f1619078069f
commit 893cf02923522e85cb0cde979804f1619078069f
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2026-03-05 19:07:09 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2026-04-24 15:44:16 +0000
libc/quad: Switch to per-arch lists of symbols
This more closely mirrors libc/quad/Makefile.inc and is easier to
read.
Reviewed by: brooks
Differential Revision: https://reviews.freebsd.org/D55658
(cherry picked from commit 54bf594851f671e231d2786cdacaf68f290ff738)
---
lib/libc/quad/Symbol.map | 43 +++++++++++++++++++------------------------
1 file changed, 19 insertions(+), 24 deletions(-)
diff --git a/lib/libc/quad/Symbol.map b/lib/libc/quad/Symbol.map
index 7c60d8183b75..c28f9a180704 100644
--- a/lib/libc/quad/Symbol.map
+++ b/lib/libc/quad/Symbol.map
@@ -5,54 +5,49 @@ 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__
+#ifdef __i386__
+ __cmpdi2;
+ __divdi3;
+ __moddi3;
+ __qdivrem;
+ __ucmpdi2;
+ __udivdi3;
+ __umoddi3;
+#elif defined(__arm__)
+ __adddi3;
+ __anddi3;
+ __floatunsdidf;
+ __iordi3;
+ __lshldi3;
+ __one_cmpldi2;
+ __qdivrem;
+ __subdi3;
+ __xordi3;
+#else
__adddi3;
__anddi3;
-#ifndef __arm__
__ashldi3;
__ashrdi3;
-#endif
-#endif
-#ifndef __arm__
__cmpdi2;
__divdi3;
-#endif
-#ifndef __i386__
-#ifndef __arm__
__fixdfdi;
__fixsfdi;
__fixunsdfdi;
__fixunssfdi;
__floatdidf;
__floatdisf;
-#endif
__floatunsdidf;
__iordi3;
__lshldi3;
-#ifndef __arm__
__lshrdi3;
-#endif
-#endif
-#ifndef __arm__
__moddi3;
-#endif
-#ifndef __i386__
-#ifndef __arm__
__muldi3;
__negdi2;
-#endif
__one_cmpldi2;
-#endif
__qdivrem;
-#ifndef __i386__
__subdi3;
-#endif
-#ifndef __arm__
__ucmpdi2;
__udivdi3;
__umoddi3;
-#endif
-#ifndef __i386__
__xordi3;
-#endif
};