Hi, איתי שוורץ wrote,
sure,
The following program compiled using gcc-7.2 binutils-2-29.1 uclibc-ng (newest from git): user@yitai:~/test$ cat test.c #include <stdlib.h> #include <stdio.h> #include <unistd.h>
int main(void) { return 0; }
with the patch:
user@yitai:~/test$ make x86_64-unknown-linux-uclibc-gcc test.c -o test -static wc -c test 45248 test
without the patch:
user@yitai:~/test$ make x86_64-unknown-linux-uclibc-gcc test.c -o test -static wc -c test 52592 test
As you can see, The patch save 7344 bytes (about %14 precent smaller) for x86_64.
Thanks, applied and pushed, best regards Waldemar