Re: [PATCH] aarch64: emit .variant_pcs for aarch64_vector_pcs symbol references

2019-05-24 Thread Szabolcs Nagy
On 24/05/2019 15:31, Richard Sandiford wrote: > Szabolcs Nagy writes: >> +static void >> +aarch64_asm_output_variant_pcs (FILE *stream, const tree decl, const char* >> name) >> +{ >> + if (TREE_CODE (decl) == FUNCTION_DECL >> + && TREE_PUBLIC (decl) >> + && lookup_attribute ("aarch64_v

Re: [PATCH] aarch64: emit .variant_pcs for aarch64_vector_pcs symbol references

2019-05-24 Thread Richard Sandiford
Szabolcs Nagy writes: > A dynamic linker with lazy binding support may need to handle variant > PCS function symbols specially, so an ELF symbol table marking was > introduced for such symbols. > > Global symbol references and definitions that follow the vector PCS are > marked in the generated as