lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
Last change
on this file since ae8d7b0 was ae8d7b0, checked in by Martin Decky <martin@…>, 8 years ago |
riscv64: update to the latest Privileged Architecture specification (1.10)
|
-
Property mode
set to
100644
|
File size:
619 bytes
|
Line | |
---|
1 | #include <arch/arch.h>
|
---|
2 |
|
---|
3 | ENTRY(start)
|
---|
4 |
|
---|
5 | SECTIONS {
|
---|
6 | . = PHYSMEM_START;
|
---|
7 |
|
---|
8 | .text : {
|
---|
9 | *(BOOTSTRAP);
|
---|
10 | *(.text);
|
---|
11 | }
|
---|
12 |
|
---|
13 | . = ALIGN(0x1000);
|
---|
14 | .htif : {
|
---|
15 | htif_page = .;
|
---|
16 | *(.htif)
|
---|
17 | }
|
---|
18 | . = ALIGN(0x1000);
|
---|
19 |
|
---|
20 | . = ALIGN(0x1000);
|
---|
21 | .pt : {
|
---|
22 | pt_page = .;
|
---|
23 | *(.pt)
|
---|
24 | }
|
---|
25 | . = ALIGN(0x1000);
|
---|
26 |
|
---|
27 | .data : {
|
---|
28 | *(.data); /* initialized data */
|
---|
29 | *(.rodata);
|
---|
30 | *(.rodata.*);
|
---|
31 | *(.sdata);
|
---|
32 | *(.reginfo);
|
---|
33 | *(.sbss);
|
---|
34 | *(.scommon);
|
---|
35 | *(.bss); /* uninitialized static variables */
|
---|
36 | *(COMMON); /* global variables */
|
---|
37 | *(.components);
|
---|
38 | }
|
---|
39 |
|
---|
40 | /DISCARD/ : {
|
---|
41 | *(.gnu.*);
|
---|
42 | *(.mdebug*);
|
---|
43 | *(.pdr);
|
---|
44 | *(.comment);
|
---|
45 | *(.note);
|
---|
46 | }
|
---|
47 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.