Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/include Let the assembler bail out if the i...
details: https://anonhg.NetBSD.org/src/rev/b218ab75da58
branches: trunk
changeset: 330862:b218ab75da58
user: joerg <joerg%NetBSD.org@localhost>
date: Thu Jul 24 18:19:13 2014 +0000
description:
Let the assembler bail out if the immediate is too large instead of
truncating it.
diffstat:
sys/arch/powerpc/include/mcontext.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r dfbe60acc3b9 -r b218ab75da58 sys/arch/powerpc/include/mcontext.h
--- a/sys/arch/powerpc/include/mcontext.h Thu Jul 24 17:35:10 2014 +0000
+++ b/sys/arch/powerpc/include/mcontext.h Thu Jul 24 18:19:13 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mcontext.h,v 1.15 2014/02/28 05:27:05 matt Exp $ */
+/* $NetBSD: mcontext.h,v 1.16 2014/07/24 18:19:13 joerg Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -152,7 +152,7 @@
void *__tcb;
__asm __volatile(
- "addi %[__tcb],%%r2,%[__offset]@l"
+ "addi %[__tcb],%%r2,%[__offset]"
: [__tcb] "=r" (__tcb)
: [__offset] "n" (-(TLS_TP_OFFSET + sizeof(struct tls_tcb))));
@@ -163,7 +163,7 @@
__lwp_settcb(void *__tcb)
{
__asm __volatile(
- "addi %%r2,%[__tcb],%[__offset]@l"
+ "addi %%r2,%[__tcb],%[__offset]"
:
: [__tcb] "r" (__tcb),
[__offset] "n" (TLS_TP_OFFSET + sizeof(struct tls_tcb)));
Home |
Main Index |
Thread Index |
Old Index