source: mainline/uspace/lib/libc/arch/ia64/_link.ld.in@ 1b03ed3

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 1b03ed3 was 941cc8b, checked in by Jakub Jermar <jakub@…>, 18 years ago

In all architectures' uspace linker scripts, define the _tls_alignment symbol.

  • Property mode set to 100644
File size: 728 bytes
RevLine 
[b006bfb8]1STARTUP(LIBC_PREFIX/arch/ARCH/src/entry.o)
[fbd6f81]2ENTRY(__entry)
3
[a3aa1e1]4PHDRS {
5 text PT_LOAD FLAGS(5);
6 data PT_LOAD FLAGS(6);
7}
8
[fbd6f81]9SECTIONS {
[a3aa1e1]10 . = 0x4000;
11
12 .init ALIGN(0x4000): SUBALIGN(0x4000) {
13 *(.init);
14 } : text
15 .text : {
16 *(.text);
17 *(.rodata*);
18 } :text
19
20 .got ALIGN(0x4000) : SUBALIGN(0x4000) {
[b81e7c6]21 _gp = .;
[a3aa1e1]22 *(.got*);
23 } :data
24 .data : {
25 *(.opd);
[7f9cd77]26 *(.data .data.*);
[a3aa1e1]27 *(.sdata);
28 } :data
[c4c5de5]29 .tdata : {
30 _tdata_start = .;
31 *(.tdata);
32 _tdata_end = .;
33 } :data
34 .tbss : {
35 _tbss_start = .;
36 *(.tbss);
37 _tbss_end = .;
38 } :data
[941cc8b]39 _tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss));
[a3aa1e1]40 .bss : {
41 *(.sbss);
42 *(.scommon);
[fbd6f81]43 *(COMMON);
[a3aa1e1]44 *(.bss);
45 } :data
[07d960a]46
47 . = ALIGN(0x4000);
48 _heap = .;
[fbd6f81]49
50 /DISCARD/ : {
[a3aa1e1]51 *(*);
[fbd6f81]52 }
53}
Note: See TracBrowser for help on using the repository browser.