On 7 December 2015 at 11:51, Edward Nevill <edward.nev...@linaro.org> wrote: > Hi, > > Does anyone know how I do > > adrp x0, dest & ~0xfff > add x0, x0, dest & 0xfff > > in aarch64 assembler? >
You can't. ADRP is PC relative, but rounded to page granularity, so you can't use it for arbitrary expressions against symbols. Can you elaborate on your use case? _______________________________________________ linaro-dev mailing list linaro-dev@lists.linaro.org https://lists.linaro.org/mailman/listinfo/linaro-dev