Source-Changes-HG archive

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

[src/trunk]: src/sys/lib/libunwind PR toolchain/55837



details:   https://anonhg.NetBSD.org/src/rev/9591c5ee482d
branches:  trunk
changeset: 379431:9591c5ee482d
user:      rin <rin%NetBSD.org@localhost>
date:      Mon May 31 11:47:18 2021 +0000

description:
PR toolchain/55837

Fix for jumpto() armeb; use word-wise load for flags, instead of byte-wise one.

diffstat:

 sys/lib/libunwind/unwind_registers.S |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r e2e6bf872807 -r 9591c5ee482d sys/lib/libunwind/unwind_registers.S
--- a/sys/lib/libunwind/unwind_registers.S      Mon May 31 11:44:06 2021 +0000
+++ b/sys/lib/libunwind/unwind_registers.S      Mon May 31 11:47:18 2021 +0000
@@ -380,7 +380,7 @@ END(_ZN7_Unwind15Registers_arm329lazyVFP
 
        .hidden _ZNK7_Unwind15Registers_arm326jumptoEv
 ARM_ENTRY(_ZNK7_Unwind15Registers_arm326jumptoEv)
-       ldrb    r1, [r0, #68]   /* flags */
+       ldr     r1, [r0, #68]   /* flags */
        tst     r1, #1
        beq     .Lnovfpv2
        add     r2, r0, #72



Home | Main Index | Thread Index | Old Index