From d04d8f629ccd1d80b1dae4f3588b397dcebd1bd4 Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Wed, 3 Aug 2022 19:05:54 -0400 Subject: =?UTF-8?q?Get=20rid=20of=20nightly=20features=20by=20using=20?= =?UTF-8?q?=E2=80=98global=5Fasm=E2=80=99.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Now compiles and runs on stable. --- src/boot.S | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/boot.S (limited to 'src/boot.S') diff --git a/src/boot.S b/src/boot.S new file mode 100644 index 0000000..d31e5fe --- /dev/null +++ b/src/boot.S @@ -0,0 +1,11 @@ + .global _start + .section .text.init +_start: + .option push + .option norelax + la gp, __global_pointer$ + .option pop + la sp, _stack_top + + csrr a0, mhartid + tail main -- cgit v1.2.3