This patch needs to be applied to 'cross_prelink_aarch64' branch. It fixes tls1, tls2, tls4, tls5, tls6 test cases of prelink testsuite. tls3 gets failed but this test case fails without prelink as well on AARCH64
Signed-off-by: Vaneet Narang <v.nar...@samsung.com> Signed-off-by: Manjeet Pawar <manjee...@samsung.com> --- src/arch-aarch64.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/arch-aarch64.c b/src/arch-aarch64.c index e04dd6e..6499c68 100644 --- a/src/arch-aarch64.c +++ b/src/arch-aarch64.c @@ -375,7 +375,7 @@ aarch64_prelink_conflict_rela (DSO *dso, struct prelink_info *info, break; case R_AARCH64_TLSDESC: tls = conflict ? conflict->lookup.tls : info->curtls; - ret->r_addend = rela->r_addend + tls->offset; + ret->r_addend = value + rela->r_addend + tls->offset; break; default: error (0, 0, "%s: Unknown AARCH64 relocation type %d", dso->filename, -- 1.7.1 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto