I've compiled a bunch of stuff for arm with this new patch and it seems
to be running well everything I've thrown at it. Nice! Personally I
wouldn't care if it took a dozen revisions. I'm just ecstatic to see
uclibc still getting development.
I've submitted the -static-pie patch for arm for gcc here.
https://gcc.gnu.org/pipermail/gcc-patches/2022-July/598610.html
Some of these large projects like gcc and llvm, I've sent bug reports
and some patches, but there's just so much volume of stuff it's hard to
get anyone's attention it seems. I'll wait a couple weeks before pinging
it again, but if anyone else wants to chime in on the gcc mailing list
that the patch is working for them would be cool :)
Lance
On 7/23/2022 2:44 PM, linted wrote:
Hello,
I first want to apologize for so many patch versions.
This version of the patch correctly adjusts the offset of the TLS
initimage used by __libc_setup_tls when copying.
I would love feedback on my modifications to libc-tls.c as I had to
use a new global variable defined in reloc_static_pie.c containing the
load address. Originally I attempted to copy how glibc pulls the load
address from a memory map when initializing the TLS, however I could
not find a similar structure available in __libc_setup_tls. I would
love to know if there is a better method which I overlooked.