Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/arch/arm/gen Ignore VFP bit in magic.



details:   https://anonhg.NetBSD.org/src/rev/f71191e3509f
branches:  trunk
changeset: 786196:f71191e3509f
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Apr 19 16:50:22 2013 +0000

description:
Ignore VFP bit in magic.

diffstat:

 lib/libc/arch/arm/gen/sigsetjmp.S |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 204a02d3d1e8 -r f71191e3509f lib/libc/arch/arm/gen/sigsetjmp.S
--- a/lib/libc/arch/arm/gen/sigsetjmp.S Fri Apr 19 16:40:59 2013 +0000
+++ b/lib/libc/arch/arm/gen/sigsetjmp.S Fri Apr 19 16:50:22 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sigsetjmp.S,v 1.5 2005/10/16 17:26:24 christos Exp $   */
+/*     $NetBSD: sigsetjmp.S,v 1.6 2013/04/19 16:50:22 matt Exp $       */
 
 /*
  * Copyright (c) 1997 Mark Brinicombe
@@ -56,6 +56,7 @@
 ENTRY(__siglongjmp14)
        ldr     r2, .L_setjmp_magic
        ldr     r3, [r0]
+       bic     r3, r3, #(_JB_MAGIC_SETJMP ^ _JB_MAGIC_SETJMP_VFP)
        teq     r2, r3
        beq     PIC_SYM(_C_LABEL(_longjmp), PLT)
        b       PIC_SYM(_C_LABEL(__longjmp14), PLT)



Home | Main Index | Thread Index | Old Index