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

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

Modify parts of the build system and libc to support building applications on
paths with differing distances from lib/libc (e.g. uspace/srv/ns and
uspace/srv/fs/fat).

  • Property mode set to 100644
File size: 590 bytes
Line 
1STARTUP(LIBC_PREFIX/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 } :data
39
40 . = ALIGN(0x1000);
41 _heap = .;
42
43 /DISCARD/ : {
44 *(*);
45 }
46
47}
Note: See TracBrowser for help on using the repository browser.