Skip to content
Snippets Groups Projects
Commit bb01c9d6 authored by Jim Lin's avatar Jim Lin Committed by Kito Cheng
Browse files

RISC-V/libgcc: Save/Restore routines for E goes with ABI.

That Save/Restore routines for E can be used for RVI with ILP32E ABI.

libgcc/ChangeLog:

	* config/riscv/save-restore.S: Check with __riscv_abi_rve rather than
	__riscv_32e.
parent 6b7eaec2
No related branches found
No related tags found
No related merge requests found
...@@ -295,7 +295,7 @@ FUNC_END (__riscv_restore_0) ...@@ -295,7 +295,7 @@ FUNC_END (__riscv_restore_0)
#else #else
#ifdef __riscv_32e #ifdef __riscv_abi_rve
FUNC_BEGIN(__riscv_save_2) FUNC_BEGIN(__riscv_save_2)
FUNC_BEGIN(__riscv_save_1) FUNC_BEGIN(__riscv_save_1)
FUNC_BEGIN(__riscv_save_0) FUNC_BEGIN(__riscv_save_0)
...@@ -529,6 +529,6 @@ FUNC_END (__riscv_restore_2) ...@@ -529,6 +529,6 @@ FUNC_END (__riscv_restore_2)
FUNC_END (__riscv_restore_1) FUNC_END (__riscv_restore_1)
FUNC_END (__riscv_restore_0) FUNC_END (__riscv_restore_0)
#endif /* __riscv_32e */ #endif /* __riscv_abi_rve */
#endif /* __riscv_xlen == 64 */ #endif /* __riscv_xlen == 64 */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment