On Jan 24, 2017, at 6:16 AM, Kyrill Tkachov <kyrylo.tkac...@foss.arm.com> wrote: > > The tests in this patch fail for me on aarch64-none-elf with: > relocation R_AARCH64_ADR_PREL_PG_HI21 against external symbol `_impure_ptr' > can not be used when making a shared object; recompile with -fPIC > > I believe since the tests pass -shared to the linker they should be gated on > the 'shared' effective target? > With this patch these tests appear as UNSUPPORTED on aarch64-none-elf rather > than FAILing. > > Ok for trunk?
Ok.