projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9a4a56
)
x86, vdso: Fix the symbol versions on the 32-bit vDSO
author
Andy Lutomirski
<luto@amacapital.net>
Sat, 29 Mar 2014 20:15:35 +0000
(13:15 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Sun, 30 Mar 2014 17:08:38 +0000
(10:08 -0700)
The new symbols provide the same API as the 64-bit variants, so they
should have the same symbol version name. This can't break
userspace, since these symbols are new for 32-bit Linux.
Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Cc: Stefani Seibold <stefani@seibold.net>
Link:
http://lkml.kernel.org/r/0a869bce03d25619565b1eee7d69a4fd15fd203a.1396124118.git.luto@amacapital.net
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/vdso/vdso32/vdso32.lds.S
patch
|
blob
|
history
diff --git
a/arch/x86/vdso/vdso32/vdso32.lds.S
b/arch/x86/vdso/vdso32/vdso32.lds.S
index 28c460703bbc23c7dfe012b631434cf8f61995be..aadb8b9994cd00b31e65c07e95af8a6f245ddebd 100644
(file)
--- a/
arch/x86/vdso/vdso32/vdso32.lds.S
+++ b/
arch/x86/vdso/vdso32/vdso32.lds.S
@@
-23,14
+23,18
@@
ENTRY(__kernel_vsyscall);
*/
VERSION
{
+ LINUX_2.6 {
+ global:
+ __vdso_clock_gettime;
+ __vdso_gettimeofday;
+ __vdso_time;
+ };
+
LINUX_2.5 {
global:
__kernel_vsyscall;
__kernel_sigreturn;
__kernel_rt_sigreturn;
- __vdso_clock_gettime;
- __vdso_gettimeofday;
- __vdso_time;
local: *;
};
}