lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
Line | |
---|
1 | STARTUP(LIBC_PATH/arch/UARCH/src/entry.o)
|
---|
2 | ENTRY(_start)
|
---|
3 |
|
---|
4 | PHDRS {
|
---|
5 | text PT_LOAD FILEHDR PHDRS FLAGS(5);
|
---|
6 | data PT_LOAD FLAGS(6);
|
---|
7 | tls PT_TLS;
|
---|
8 | debug PT_NOTE;
|
---|
9 | }
|
---|
10 |
|
---|
11 | SECTIONS {
|
---|
12 | #ifdef SHLIB
|
---|
13 | . = SEGMENT_START("text-segment", 0);
|
---|
14 | #else
|
---|
15 | . = SEGMENT_START("text-segment", 0x400000);
|
---|
16 | PROVIDE (__executable_start = .);
|
---|
17 | #endif
|
---|
18 | . = . + SIZEOF_HEADERS;
|
---|
19 |
|
---|
20 | .text : {
|
---|
21 | *(.text .text.*);
|
---|
22 | *(.rodata .rodata.*);
|
---|
23 | *(.srodata .srodata.*);
|
---|
24 | } :text
|
---|
25 |
|
---|
26 | . = . + 0x1000;
|
---|
27 |
|
---|
28 | .data : {
|
---|
29 | *(.data);
|
---|
30 | *(.sdata);
|
---|
31 | *(.data.rel*);
|
---|
32 | } :data
|
---|
33 |
|
---|
34 | .tdata : {
|
---|
35 | *(.tdata);
|
---|
36 | *(.tdata.*);
|
---|
37 | *(.gnu.linkonce.td.*);
|
---|
38 | } :data :tls
|
---|
39 |
|
---|
40 | .tbss : {
|
---|
41 | *(.tbss);
|
---|
42 | *(.tbss.*);
|
---|
43 | *(.gnu.linkonce.tb.*);
|
---|
44 | } :data :tls
|
---|
45 |
|
---|
46 | .bss : {
|
---|
47 | *(.scommon);
|
---|
48 | *(.sbss);
|
---|
49 | *(COMMON);
|
---|
50 | *(.bss);
|
---|
51 | } :data
|
---|
52 |
|
---|
53 | _end = .;
|
---|
54 |
|
---|
55 | #ifdef CONFIG_LINE_DEBUG
|
---|
56 | .comment 0 : { *(.comment); } :debug
|
---|
57 | .debug_abbrev 0 : { *(.debug_abbrev); } :debug
|
---|
58 | .debug_aranges 0 : { *(.debug_aranges); } :debug
|
---|
59 | .debug_info 0 : { *(.debug_info); } :debug
|
---|
60 | .debug_line 0 : { *(.debug_line); } :debug
|
---|
61 | .debug_loc 0 : { *(.debug_loc); } :debug
|
---|
62 | .debug_pubnames 0 : { *(.debug_pubnames); } :debug
|
---|
63 | .debug_pubtypes 0 : { *(.debug_pubtypes); } :debug
|
---|
64 | .debug_ranges 0 : { *(.debug_ranges); } :debug
|
---|
65 | .debug_str 0 : { *(.debug_str); } :debug
|
---|
66 | #endif
|
---|
67 |
|
---|
68 | /DISCARD/ : {
|
---|
69 | *(*);
|
---|
70 | }
|
---|
71 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.