- build i386 with the i386-gcc9 toolchain
> size ld-elf.so.1 text data bss dec hex filename 124102 964 2992 128058 0x1f43a ld-elf.so.1
Symbols I could find:
rtld_printf.o: U __udivmoddi4
I wonder if instead rtld-libc/Makefile.inc shouldn't be patched. We seem to pull in some individual intrinsics there for other platforms already (with rtld_printf as a common offender)
Hmm, so the other symbols like qdivrem.c we have in libc, but udivmoddi4 is only in compiler_rt sources, not libc sources. I also can't find where we have a .PATH to libc/quad anywhere in rtld which is where qdivrem.c lives which is even more confusing. arm already links in libcompiler_rt directly for rtld FWIW.