source: mainline/uspace/lib/c/arch/ia64/_link.ld.in@ 64b5d15

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 64b5d15 was 49852df, checked in by Martin Decky <martin@…>, 14 years ago

ia64: improve linker scripts

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