File tree Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,7 @@ fn main() {
10
10
const LINKER : & [ u8 ] = b"
11
11
OUTPUT_ARCH(riscv)
12
12
SECTIONS {
13
- . = 0x80200000;
14
- .text : {
13
+ .text 0x80200000 : {
15
14
*(.text.entry)
16
15
*(.text .text.*)
17
16
}
Original file line number Diff line number Diff line change @@ -10,8 +10,7 @@ fn main() {
10
10
const LINKER : & [ u8 ] = b"
11
11
OUTPUT_ARCH(riscv)
12
12
SECTIONS {
13
- . = 0x80200000;
14
- .text : {
13
+ .text 0x80200000 : {
15
14
*(.text.entry)
16
15
*(.text .text.*)
17
16
}
Original file line number Diff line number Diff line change @@ -40,9 +40,8 @@ pub use app::{AppIterator, AppMeta};
40
40
pub const SCRIPT : & [ u8 ] = b"\
41
41
OUTPUT_ARCH(riscv)
42
42
SECTIONS {
43
- . = 0x80200000;
44
- __start = .;
45
- .text : {
43
+ .text 0x80200000 : {
44
+ __start = .;
46
45
*(.text.entry)
47
46
*(.text .text.*)
48
47
}
You can’t perform that action at this time.
0 commit comments