[yocto] [PATCH 1/1] Fix AARCH64_TLSDESC relocation conflict
Vaneet Narang
v.narang at samsung.com
Thu Nov 5 23:09:25 PST 2015
Hi Mark,
>I have done the same implementation for AARCH64. Loader handles AARCH64_TLSDESC conflict as below.
>case R_AARCH64_TLSDESC:
>....
> if (! sym)
> {
> td->arg = (void*)reloc->r_addend;
> td->entry = _dl_tlsdesc_undefweak;
> }
we have shared one patch in libc to handle AARCH64_TLS conflict on AARCH64.
https://sourceware.org/ml/libc-alpha/2015-11/msg00106.html
Since we are using cross prelink we don't run testsuite. we compile all test cases
from test suite manually as mentioned in tls.sh file and run on target.
LD_DEBUG=libs LD_LIBRARY_PATH=. ./tls1
1828: prelink checking: ok
....
No segfault or abort() is observed hence i assume testcase is running properly.
Thanks
Vaneet Narang
More information about the yocto
mailing list