source: mainline/uspace/lib/libc/arch/ia32/_link.ld.in@ 86018c1

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 86018c1 was f563126, checked in by Martin Decky <martin@…>, 16 years ago

make uspace pass compilation with clang

  • Property mode set to 100644
File size: 591 bytes
Line 
1STARTUP(LIBC_PREFIX/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 . = 0x1000 + SIZEOF_HEADERS;
11
12 .init : {
13 *(.init);
14 } :text
15
16 .text : {
17 *(.text);
18 *(.rodata*);
19 } :text
20
21 . = . + 0x1000;
22
23 .data : {
24 *(.data);
25 } :data
26
27 .tdata : {
28 _tdata_start = .;
29 *(.tdata);
30 *(.gnu.linkonce.tb.*);
31 _tdata_end = .;
32 _tbss_start = .;
33 *(.tbss);
34 _tbss_end = .;
35 } :data
36
37 _tls_alignment = ALIGNOF(.tdata);
38
39 .bss : {
40 *(COMMON);
41 *(.bss);
42 } :data
43
44 . = ALIGN(0x1000);
45
46 _heap = .;
47
48 /DISCARD/ : {
49 *(*);
50 }
51}
Note: See TracBrowser for help on using the repository browser.