vdso: wrap the vDSO ELF identifier and symbol name table definitions into the macro
These variables are architecture-specific so they shouldn't appear in the upcoming generic version of the routine vdso_fill_symtable(). At first glance it seems it's better to make these variables global and reference them as external in the generic version of the routine. However experiments with the vDSO restore routine for AArch64 showed that the AArch64 compiler uses the GOT to access such variables rendering our blobs unrelocatable. Signed-off-by:Alexander Kartashov <alekskartashov@parallels.com> Looks-good-to: Cyrill Gorcunov <gorcunov@openvz.org> Reviewed-by:
Christopher Covington <cov@codeaurora.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
Showing
Please
register
or
sign in
to comment