source: mainline/uspace/srv/loader/arch/ia64/_link.ld.in@ cf2af94

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

uspace linker scripts unification

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