mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-11-24 23:24:03 +08:00
[PATCH] RISC-V/libgcc: Fix incorrect .cfi_offset for saving ra in __riscv_save_[0-3] on ilp32e.
From 8b3c5ebe8aacbcc4ddf1be8dea9a555e7e1bcc39 Mon Sep 17 00:00:00 2001 From: Jim Lin <jim@andestech.com> Date: Fri, 4 Oct 2024 14:48:12 +0800 Subject: [PATCH] RISC-V/libgcc: Fix incorrect .cfi_offset for saving ra in __riscv_save_[0-3] on ilp32e. libgcc/ChangeLog: * config/riscv/save-restore.S: Fix .cfi_offset for saving ra in __riscv_save_[0-3] on ilp32e.
This commit is contained in:
parent
20165d0107
commit
78d2af1fa5
@ -309,7 +309,7 @@ FUNC_BEGIN(__riscv_save_0)
|
||||
sw s0, 4(sp)
|
||||
.cfi_offset 8, -8
|
||||
sw ra, 8(sp)
|
||||
.cfi_offset 1, 0
|
||||
.cfi_offset 1, -4
|
||||
jr t0
|
||||
.cfi_endproc
|
||||
FUNC_END(__riscv_save_2)
|
||||
|
Loading…
Reference in New Issue
Block a user