source: mainline/uspace/lib/libc/arch/ia64/_link.ld.in@ 8e000b8d

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 8e000b8d was e622f0a8, checked in by Jakub Jermar <jakub@…>, 16 years ago

Put .tbss section into the .tdata output section.
This solves the .tbss alignment issue seen on amd64.

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