source: mainline/libc/arch/ppc64/_link.ld.in@ 5b4f9e1

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

initial ppc64 support

  • Property mode set to 100644
File size: 586 bytes
Line 
1STARTUP(../libc/arch/ARCH/src/entry.o)
2ENTRY(__entry)
3
4PHDRS {
5 text PT_LOAD FLAGS(5);
6 data PT_LOAD FLAGS(6);
7}
8
9SECTIONS {
10 . = 0x1000;
11
12 .init ALIGN(0x1000) : SUBALIGN(0x1000) {
13 *(.init);
14 } :text
15 .text : {
16 *(.text);
17 *(.rodata*);
18 } :text
19
20 .data ALIGN(0x1000) : SUBALIGN(0x1000) {
21 *(.data);
22 *(.sdata);
23 } :data
24 .tdata : {
25 _tdata_start = .;
26 *(.tdata);
27 _tdata_end = .;
28 } :data
29 .tbss : {
30 _tbss_start = .;
31 *(.tbss);
32 _tbss_end = .;
33 } :data
34 .bss : {
35 *(.sbss);
36 *(COMMON);
37 *(.bss);
38 _heap = .;
39 LONG(0xdeadbeef);
40 } :data
41
42 /DISCARD/ : {
43 *(*);
44 }
45
46}
Note: See TracBrowser for help on using the repository browser.