Commit 0c8c1108 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ppc64-implement-a-vdso-and-use-it-for-signal-trampoline gas workaround

I cannot find a version of binutils which doesn't either do

arch/ppc64/kernel/vdso32/gettimeofday.S: Assembler messages:
arch/ppc64/kernel/vdso32/gettimeofday.S:33: Error: syntax error; found `@' but expected `,'

or

arch/ppc64/kernel/vdso32/gettimeofday.S: Assembler messages:
arch/ppc64/kernel/vdso32/gettimeofday.S:33: Internal error, aborting at ../../gas/config/tc-ppc.c line 2658 in md_assemble
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 054eb715
...@@ -56,7 +56,7 @@ V_FUNCTION_BEGIN(__kernel_get_syscall_map) ...@@ -56,7 +56,7 @@ V_FUNCTION_BEGIN(__kernel_get_syscall_map)
.cfi_register lr,r12 .cfi_register lr,r12
mr r4,r3 mr r4,r3
bl __get_datapage@local bl __get_datapage
mtlr r12 mtlr r12
addi r3,r3,CFG_SYSCALL_MAP32 addi r3,r3,CFG_SYSCALL_MAP32
cmpli cr0,r4,0 cmpli cr0,r4,0
......
...@@ -30,9 +30,9 @@ V_FUNCTION_BEGIN(__kernel_gettimeofday) ...@@ -30,9 +30,9 @@ V_FUNCTION_BEGIN(__kernel_gettimeofday)
mr r10,r3 /* r10 saves tv */ mr r10,r3 /* r10 saves tv */
mr r11,r4 /* r11 saves tz */ mr r11,r4 /* r11 saves tz */
bl __get_datapage@local /* get data page */ bl __get_datapage /* get data page */
mr r9, r3 /* datapage ptr in r9 */ mr r9, r3 /* datapage ptr in r9 */
bl __do_get_xsec@local /* get xsec from tb & kernel */ bl __do_get_xsec /* get xsec from tb & kernel */
bne- 2f /* out of line -> do syscall */ bne- 2f /* out of line -> do syscall */
/* seconds are xsec >> 20 */ /* seconds are xsec >> 20 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment