source: mainline/uspace/lib/libc/arch/ia64/_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 e622f0a8, checked in by Jakub Jermar <jakub@…>, 17 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
RevLine 
[fcd7053]1STARTUP(LIBC_PREFIX/arch/UARCH/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 {
[1cc2974]10 . = 0x4000 + SIZEOF_HEADERS;
[a3aa1e1]11
[1cc2974]12 .init : {
[a3aa1e1]13 *(.init);
14 } : text
15 .text : {
16 *(.text);
17 *(.rodata*);
18 } :text
19
[1cc2974]20 . = . + 0x4000;
21
22 .got : {
[b81e7c6]23 _gp = .;
[a3aa1e1]24 *(.got*);
25 } :data
26 .data : {
27 *(.opd);
[7f9cd77]28 *(.data .data.*);
[a3aa1e1]29 *(.sdata);
30 } :data
[c4c5de5]31 .tdata : {
32 _tdata_start = .;
33 *(.tdata);
34 _tdata_end = .;
35 _tbss_start = .;
36 *(.tbss);
37 _tbss_end = .;
38 } :data
[e622f0a8]39 _tls_alignment = ALIGNOF(.tdata);
[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.