Re: [PATCH v2] ARM: aarch64: Avoid relocations in runtime-offset.S

2019-01-31 Thread Sascha Hauer
On Tue, Jan 29, 2019 at 05:30:50PM -0800, Andrey Smirnov wrote: > > Signed-off-by: Andrey Smirnov > --- Applied, thanks Sascha > > Changes since [v1]: > > - Added a comment explaining the reasoning "a" specifier is > missing > > [v1] http://lists.infradead.org/pipermail/barebox/20

[PATCH v2] ARM: aarch64: Avoid relocations in runtime-offset.S

2019-01-29 Thread Andrey Smirnov
Since get_runtime_offset() is executed as a part of reloaction logic, it cannot have code dependend on any kind of relocation. Unfortunately, current codebase violates this rule and linkadr: .quad get_runtime_offset ends up producing R_AARCH64_RELATIVE relocation that has to be resolved at runtim