source: mainline/uspace/lib/c/arch/mips32/_link.ld.in@ 3b271e3

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 3b271e3 was 5e8b881, checked in by Martin Decky <martin@…>, 15 years ago

uspace linker scripts unification

  • Property mode set to 100644
File size: 674 bytes
Line 
1STARTUP(LIBC_PATH/arch/UARCH/src/entry.o)
2ENTRY(__entry)
3
4PHDRS {
5 text PT_LOAD FLAGS(5);
6 data PT_LOAD FLAGS(6);
7}
8
9SECTIONS {
10 . = 0x4000 + SIZEOF_HEADERS;
11
12 .init : {
13 *(.init);
14 } :text
15
16 .text : {
17 *(.text);
18 *(.rodata*);
19 } :text
20
21 . = . + 0x4000;
22
23 .data : {
24 *(.data);
25 *(.data.rel*);
26 } :data
27
28 .got : {
29 _gp = .;
30 *(.got);
31 } :data
32
33 .tdata : {
34 _tdata_start = .;
35 *(.tdata);
36 _tdata_end = .;
37 } :data
38
39 .tbss : {
40 _tbss_start = .;
41 *(.tbss);
42 _tbss_end = .;
43 } :data
44
45 _tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss));
46
47 .sbss : {
48 *(.scommon);
49 *(.sbss);
50 }
51
52 .bss : {
53 *(.bss);
54 *(COMMON);
55 } :data
56
57 /DISCARD/ : {
58 *(*);
59 }
60}
Note: See TracBrowser for help on using the repository browser.