[PATCH 07/23] linux: Use generic __syscall_error for i386

Florian Weimer fweimer@redhat.com
Tue Nov 10 12:49:31 GMT 2020


* Adhemerval Zanella via Libc-alpha:

> The auto-generated syscalls calls the __syscall_error, and for i686
> it results in much less compat code:
>
> --- sizes-i686-linux-gnu.outline
> +++ sizes-i686-linux-gnu.inline
>     text           data     bss     dec     hex filename
> -1933727          11324   10172 1955223  1dd597 libc.so
> - 175366           4768     184  180318   2c05e elf/ld.so
> - 109851            832    8408  119091   1d133 nptl/libpthread.so
> -  27983            628     184   28795    707b rt/librt.so
> +1937875          11324   10172 1959371  1de5cb libc.so
> + 175790           4768     184  180742   2c206 elf/ld.so
> + 110179            832    8408  119419   1d27b nptl/libpthread.so
> +  28139            628     184   28951    7117 rt/librt.so
>
> This patch enabled SYSCALL_ERROR_FUNC with the expected abi by also
> defining SYSCALL_ERROR_FUNC_ATTR.

Sorry, what do you mean with “compat code”?  And does the code size go
up or down with this change?

Thanks,
Florian
-- 
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill



More information about the Libc-alpha mailing list