File tree Expand file tree Collapse file tree 10 files changed +2
-24
lines changed
Expand file tree Collapse file tree 10 files changed +2
-24
lines changed Original file line number Diff line number Diff line change 1- .section .text .start
2- .word __etext
3-
41.global _start
52_start:
63 li x1, 0
Original file line number Diff line number Diff line change 1- .section .text .start
2- .word __etext
3-
41.global _start
52_start:
63 la x1, word1
Original file line number Diff line number Diff line change 1- .section .text .start
2- .word __etext
3-
41.global _start
52_start:
63 la x1, word
Original file line number Diff line number Diff line change 1- .section .text .start
2- .word __etext
3-
41.global _start
52_start:
63 li x1, 0b1
Original file line number Diff line number Diff line change 1- .section .text .start
2- .word __etext
3-
41.global _start
52_start:
63 la s0, msg
Original file line number Diff line number Diff line change 1- .section .text .start
2- .word __etext
3-
41.global _start
52_start:
63 la x1, word
Original file line number Diff line number Diff line change 1- .section .text .start
2- .word __etext
3-
41.global _start
52_start:
63 # PAUSE (apparently not supported by clang)
Original file line number Diff line number Diff line change 11.section .text .start
2- .word __etext
32
43.global _start
54_start:
Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ SECTIONS {
3333 .text : {
3434 __stext = .;
3535
36+ LONG (__etext);
37+
3638 KEEP (*(.text .start ));
3739 *(.text .reset );
3840 *(.text .text .*);
Original file line number Diff line number Diff line change @@ -30,8 +30,6 @@ static HEAP: Heap = Heap::empty();
3030#[ rustfmt:: skip]
3131global_asm ! ( "
3232.section .text.start
33- .word __etext
34-
3533 la gp, __global_pointer$
3634
3735 la t1, _stack_start
You can’t perform that action at this time.
0 commit comments