Bionic libc relies on an old libgcc behaviour which does not set hidden visibility attribute. Keep exporting these symbols on Android for compatibility.
Keep exporting these symbols on Android for compatibility.
For posterity, I think we want the builtins symbols not-hidden so that they can be exported from libc.so and libm.so on 32-bit targets, e.g.:
- for arm32: many __aeabi_* libc.so functions, __fixunsdfdi in libm.so, ...
- for x86: __divdi3, __popcountsi2, __udivdi3, __umoddi3
The platform continues to export these builtins for backwards compatibility with old binaries.