https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98395
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Most likely one is stripped and the other is not.
I didn't build with -Os, but the 9.x to 10.x difference is fairly small:
gcc 9 libgcc]$ size libgcc_s.so.1
text data bss dec hex filename
90562 992 688 92242 16852 libgcc_s.so.1
gcc 10 libgcc]$ size libgcc_s.so.1
text data bss dec hex filename
92530 992 680 94202 16ffa libgcc_s.so.1