[PATCH v2] dl: Use "adr" assembler command to get proper load address on ARM
Szabolcs Nagy
Szabolcs.Nagy@arm.com
Wed Oct 27 09:38:30 GMT 2021
The 10/26/2021 20:55, Joseph Myers wrote:
> On Tue, 26 Oct 2021, Lukasz Majewski wrote:
>
> > > I sent patches (on top of a merge of the upstream cross_prelink and
> > > cross_prelink_aarch64 branches) to the maintainer in May 2020 (the
> > > Yocto project mailing list doesn't accept email from non-subscribers,
> > > so won't have seen those patches), which made it work well enough to
> > > get clean prelink test results, but so far they haven't been
> > > committed to the upstream cross_prelink branch (or any other upstream
> > > branch). I've now made those available at
> > > https://github.com/jsm28/prelink (cross_prelink_aarch64_fixes branch).
> >
> > So this branch shall be pulled by yocto's cross-prelink maintainer.
>
> It should be.
>
> > Without it the cross-prelink doesn't support aarch64?
>
> Correct.
>
> With that branch, basic AArch64 support is there, but the following still
> applies:
>
> > > Note however that, like the original patches from Samsung, this
> > > version does indeed depend on a hack in _dl_tlsdesc_undefweak to work
> > > with TLS descriptors.
>
> (And given that hack, test results with my branch should be clear on
> AArch64.)
i think the undefweak hack is acceptable.
(in the non-prelinked case that path is rare)
and then i'm happy to take the load address change
to support prelinked ld.so.
More information about the Libc-alpha
mailing list