source: mainline/uspace/lib/c/arch/mips32/_link.ld.in@ 47b7006

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

rename library directories (the common "lib" prefix is already in the upper directory)

  • Property mode set to 100644
File size: 660 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 .text : {
16 *(.text);
17 *(.rodata*);
18 } :text
19
20 . = . + 0x4000;
21
22 .data : {
23 *(.data);
24 *(.data.rel*);
25 } :data
26
27 .got : {
28 _gp = .;
29 *(.got);
30 } :data
31
32 .tdata : {
33 _tdata_start = .;
34 *(.tdata);
35 _tdata_end = .;
36 _tbss_start = .;
37 *(.tbss);
38 _tbss_end = .;
39 } :data
40 _tls_alignment = ALIGNOF(.tdata);
41
42 .sbss : {
43 *(.scommon);
44 *(.sbss);
45 }
46 .bss : {
47 *(.bss);
48 *(COMMON);
49 } :data
50
51 . = ALIGN(0x4000);
52 _heap = .;
53
54 /DISCARD/ : {
55 *(*);
56 }
57}
Note: See TracBrowser for help on using the repository browser.