x86, relocs: Move __vvar_page from S_ABS to S_REL
authorKees Cook <keescook@chromium.org>
Tue, 11 Jun 2013 18:56:52 +0000 (11:56 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 12 Jun 2013 22:14:57 +0000 (15:14 -0700)
commitb1983b0a7578de09211a696802edab83fd253303
treea9e4806dc518c2f8a75cf1eafac324d4244c4e49
parent7de3d66b1387ddf5a37d9689e5eb8510fb75c765
x86, relocs: Move __vvar_page from S_ABS to S_REL

The __vvar_page relocation should actually be listed in S_REL instead
of S_ABS. Oddly, this didn't always cause things to break, presumably
because there are no users for relocation information on 64 bits yet.

[ hpa: Not for stable - new code in 3.10 ]

Signed-off-by: Kees Cook <keescook@chromium.org>
Link: http://lkml.kernel.org/r/20130611185652.GA23674@www.outflux.net
Reported-by: Michael Davidson <md@google.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/tools/relocs.c