source: mainline/uspace/lib/libc/arch/ppc32/_link.ld.in@ c83d2b4

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since c83d2b4 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: 578 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 . = 0x1000 + SIZEOF_HEADERS;
11
12 .init : {
13 *(.init);
14 } :text
15 .text : {
16 *(.text);
17 *(.rodata*);
18 } :text
19
20 . = . + 0x1000;
21
22 .data : {
23 *(.data);
24 *(.sdata);
25 } :data
26 .tdata : {
27 _tdata_start = .;
28 *(.tdata);
29 _tdata_end = .;
30 _tbss_start = .;
31 *(.tbss);
32 _tbss_end = .;
33 } :data
34 _tls_alignment = ALIGNOF(.tdata);
35 .bss : {
36 *(.sbss);
37 *(COMMON);
38 *(.bss);
39 } :data
40
41 . = ALIGN(0x1000);
42 _heap = .;
43
44 /DISCARD/ : {
45 *(*);
46 }
47
48}
Note: See TracBrowser for help on using the repository browser.