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/8e6a65eb2a45
branches:  trunk
changeset: 1021462:8e6a65eb2a45
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 23561634e977 -r 8e6a65eb2a45 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 @@
 
        .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