Skip to content

Commit 3d918ba

Browse files
committed
Revert "fu540 init: add a hack for broken rust riscv runtime"
Fixed by rust-lang/compiler-builtins#324 This reverts commit f506d39. Signed-off-by: Ronald G. Minnich <[email protected]>
1 parent f506d39 commit 3d918ba

File tree

1 file changed

+0
-10
lines changed
  • src/soc/sifive/fu540/src

1 file changed

+0
-10
lines changed

src/soc/sifive/fu540/src/init.S

-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
// This is a GROSS HACK until rust is fixed to not expect
2-
// atomic load store on 16 bit quantities, which riscv
3-
// can not do.
4-
.globl __atomic_store_16
5-
__atomic_store_16:
6-
ret
7-
.globl __atomic_load_16
8-
__atomic_load_16:
9-
ret
10-
// END GROSS HACK
111

122
.globl _stack_ptr
133
.section .rodata

0 commit comments

Comments
 (0)