All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] ppc64-implement-a-vdso-and-use-it-for-signal-trampoline gas workaround
       [not found] <200503051830.j25IU4Vq007528@hera.kernel.org>
@ 2005-03-05 22:49 ` Benjamin Herrenschmidt
  2005-03-05 23:30   ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: Benjamin Herrenschmidt @ 2005-03-05 22:49 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: Andrew Morton, Linus Torvalds

On Sat, 2005-03-05 at 17:33 +0000, Linux Kernel Mailing List wrote:
> ChangeSet 1.2212, 2005/03/05 09:33:46-08:00, akpm@osdl.org
> 
> 	[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 `,'

Ugh... Do that still happen once you finally get it to build with a 32
bits compiler and not a 64 bits one ? The @local is actually needed for
the 32 bits build.

> 	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: Andrew Morton <akpm@osdl.org>
> 	Signed-off-by: Linus Torvalds <torvalds@osdl.org>
> 
> 
> 
>  datapage.S     |    2 +-
>  gettimeofday.S |    4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> 
> diff -Nru a/arch/ppc64/kernel/vdso32/datapage.S b/arch/ppc64/kernel/vdso32/datapage.S
> --- a/arch/ppc64/kernel/vdso32/datapage.S	2005-03-05 10:30:16 -08:00
> +++ b/arch/ppc64/kernel/vdso32/datapage.S	2005-03-05 10:30:16 -08:00
> @@ -56,7 +56,7 @@
>    .cfi_register lr,r12
>  
>  	mr	r4,r3
> -	bl	__get_datapage@local
> +	bl	__get_datapage
>  	mtlr	r12
>  	addi	r3,r3,CFG_SYSCALL_MAP32
>  	cmpli	cr0,r4,0
> diff -Nru a/arch/ppc64/kernel/vdso32/gettimeofday.S b/arch/ppc64/kernel/vdso32/gettimeofday.S
> --- a/arch/ppc64/kernel/vdso32/gettimeofday.S	2005-03-05 10:30:16 -08:00
> +++ b/arch/ppc64/kernel/vdso32/gettimeofday.S	2005-03-05 10:30:16 -08:00
> @@ -30,9 +30,9 @@
>  
>  	mr	r10,r3			/* r10 saves tv */
>  	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 */
> -	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 */
>  
>  	/* seconds are xsec >> 20 */
> -
> To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
-- 
Benjamin Herrenschmidt <benh@kernel.crashing.org>


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ppc64-implement-a-vdso-and-use-it-for-signal-trampoline gas workaround
  2005-03-05 22:49 ` [PATCH] ppc64-implement-a-vdso-and-use-it-for-signal-trampoline gas workaround Benjamin Herrenschmidt
@ 2005-03-05 23:30   ` Andrew Morton
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2005-03-05 23:30 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linux-kernel, torvalds

Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:
>
> On Sat, 2005-03-05 at 17:33 +0000, Linux Kernel Mailing List wrote:
>  > ChangeSet 1.2212, 2005/03/05 09:33:46-08:00, akpm@osdl.org
>  > 
>  > 	[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 `,'
> 
>  Ugh... Do that still happen once you finally get it to build with a 32
>  bits compiler and not a 64 bits one ? The @local is actually needed for
>  the 32 bits build.

Yes, you're right.  We can revert 1.2212 please.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-03-05 23:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200503051830.j25IU4Vq007528@hera.kernel.org>
2005-03-05 22:49 ` [PATCH] ppc64-implement-a-vdso-and-use-it-for-signal-trampoline gas workaround Benjamin Herrenschmidt
2005-03-05 23:30   ` Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.