Hi! When adding _BitInt support I was hoping all or most of arches would implement it already for GCC 14. That didn't happen and with new hosts adding support for _BitInt for GCC 16 (s390x-linux and as was posted today loongarch-linux too), we need the _BitInt support functions exported on those arches at GCC_16.0.0 rather than GCC_14.0.0 which shouldn't be changed anymore.
The following patch does that. Both arches were already exporting some of the _BitInt related symbols in their specific map files, this just moves the remaining ones there as well. Tested on x86_64-linux (-m32/-m64, with all bitint related tests, both normally and --target_board=unix/-shared-libgcc, additionally compared abilists of libgcc before/after), ok for trunk? 2025-05-20 Jakub Jelinek <ja...@redhat.com> * libgcc-std.ver.in (GCC_14.0.0): Remove bitint related exports from here. * config/i386/libgcc-glibc.ver (GCC_14.0.0): Add them here. * config/i386/libgcc-darwin.ver (GCC_14.0.0): Likewise. * config/i386/libgcc-sol2.ver (GCC_14.0.0): Likewise. * config/aarch64/libgcc-softfp.ver (GCC_14.0.0): Likewise. --- libgcc/libgcc-std.ver.in.jj 2025-04-08 14:09:53.631413461 +0200 +++ libgcc/libgcc-std.ver.in 2025-05-20 08:23:24.323741294 +0200 @@ -1947,12 +1947,6 @@ GCC_7.0.0 { %inherit GCC_14.0.0 GCC_7.0.0 GCC_14.0.0 { - __PFX__mulbitint3 - __PFX__divmodbitint4 - __PFX__fixsfbitint - __PFX__fixdfbitint - __PFX__floatbitintsf - __PFX__floatbitintdf __PFX__hardcfr_check __PFX__strub_enter __PFX__strub_update --- libgcc/config/i386/libgcc-glibc.ver.jj 2025-04-08 14:09:53.518415033 +0200 +++ libgcc/config/i386/libgcc-glibc.ver 2025-05-20 08:25:59.310613264 +0200 @@ -229,10 +229,16 @@ GCC_13.0.0 { %inherit GCC_14.0.0 GCC_13.0.0 GCC_14.0.0 { + __mulbitint3 + __divmodbitint4 + __fixsfbitint + __fixdfbitint __fixxfbitint __fixtfbitint __floatbitintbf __floatbitinthf + __floatbitintsf + __floatbitintdf __floatbitintxf __floatbitinttf } --- libgcc/config/i386/libgcc-darwin.ver.jj 2024-02-09 11:59:11.907051978 +0100 +++ libgcc/config/i386/libgcc-darwin.ver 2025-05-20 08:27:08.877659307 +0200 @@ -37,10 +37,16 @@ GCC_14.0.0 { __truncxfbf2 __trunchfbf2 # Added to GCC_14.0.0 in i386/libgcc-glibc.ver. + __mulbitint3 + __divmodbitint4 + __fixsfbitint + __fixdfbitint __fixxfbitint __fixtfbitint __floatbitintbf __floatbitinthf + __floatbitintsf + __floatbitintdf __floatbitintxf __floatbitinttf } --- libgcc/config/i386/libgcc-sol2.ver.jj 2025-04-08 14:09:53.518415033 +0200 +++ libgcc/config/i386/libgcc-sol2.ver 2025-05-20 08:26:44.751990139 +0200 @@ -144,10 +144,16 @@ GCC_14.0.0 { __truncxfbf2 __trunchfbf2 # Added to GCC_14.0.0 in i386/libgcc-glibc.ver. + __mulbitint3 + __divmodbitint4 + __fixsfbitint + __fixdfbitint __fixxfbitint __fixtfbitint __floatbitintbf __floatbitinthf + __floatbitintsf + __floatbitintdf __floatbitintxf __floatbitinttf } --- libgcc/config/aarch64/libgcc-softfp.ver.jj 2025-04-08 14:09:53.174419821 +0200 +++ libgcc/config/aarch64/libgcc-softfp.ver 2025-05-20 08:28:03.638908388 +0200 @@ -42,8 +42,14 @@ GCC_13.0.0 { %inherit GCC_14.0.0 GCC_13.0.0 GCC_14.0.0 { + __mulbitint3 + __divmodbitint4 + __fixsfbitint + __fixdfbitint __fixtfbitint __floatbitintbf __floatbitinthf + __floatbitintsf + __floatbitintdf __floatbitinttf } Jakub