projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7de3d66
)
x86, relocs: Move __vvar_page from S_ABS to S_REL
author
Kees Cook
<
[email protected]
>
Tue, 11 Jun 2013 18:56:52 +0000
(11:56 -0700)
committer
H. Peter Anvin
<
[email protected]
>
Wed, 12 Jun 2013 22:14:57 +0000
(15:14 -0700)
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 <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Reported-by: Michael Davidson <
[email protected]
>
Signed-off-by: H. Peter Anvin <
[email protected]
>
arch/x86/tools/relocs.c
patch
|
blob
|
history
diff --git
a/arch/x86/tools/relocs.c
b/arch/x86/tools/relocs.c
index 590be10908925b1d26e8b8bb1ffc3c03925ac159..f7bab68a4b83e4094db9b70c50292fddd88098c1 100644
(file)
--- a/
arch/x86/tools/relocs.c
+++ b/
arch/x86/tools/relocs.c
@@
-42,9
+42,6
@@
static const char * const sym_regex_kernel[S_NSYMTYPES] = {
"^(xen_irq_disable_direct_reloc$|"
"xen_save_fl_direct_reloc$|"
"VDSO|"
-#if ELF_BITS == 64
- "__vvar_page|"
-#endif
"__crc_)",
/*
@@
-72,6
+69,7
@@
static const char * const sym_regex_kernel[S_NSYMTYPES] = {
"__per_cpu_load|"
"init_per_cpu__.*|"
"__end_rodata_hpage_align|"
+ "__vvar_page|"
#endif
"_end)$"
};