• Christopher Covington's avatar
    pie: Give VDSO symbol table local scope · 871da9a1
    Christopher Covington authored
    In commit c2271198, Laurent Dufour kindly reunified the VDSO code
    that had become duplicated between architectures. Unfortunately
    this introduced a regression in AArch64 where apparently due to
    the scope of vdso_symbols array of pointers to characters changing
    from local to global, load-time relocations became necessary.
    
    The following thread on the GCC mailing list discusses why
    load-time relocations can be necessary when pointers are used,
    although it doesn't mention the potential for locally scoped
    arrays to be handled differently:
    https://gcc.gnu.org/ml/gcc/2004-05/msg01016.html
    
    Because the alternatives, such as porting piegen to AArch64, are
    far more involved, simply revert the change in scope.
    Signed-off-by: 's avatarChristopher Covington <cov@codeaurora.org>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
    871da9a1
Name
Last commit
Last update
..
piegen Loading commit data...
Makefile Loading commit data...
log-simple.c Loading commit data...
parasite-vdso.c Loading commit data...
parasite.c Loading commit data...
pie-reloc.lds.S.in Loading commit data...
pie-relocs.c Loading commit data...
pie-relocs.h Loading commit data...
pie.lds.S.in Loading commit data...
restorer.c Loading commit data...
util-fd.c Loading commit data...
util-vdso.c Loading commit data...
util.c Loading commit data...