source: mainline/uspace/srv/loader/arch/arm32/_link.ld.in@ 827d73f

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

cleanup configuration
code cleanup

  • Property mode set to 100644
File size: 869 bytes
Line 
1/*
2 * The only difference from _link.ld.in for regular statically-linked apps
3 * is the base address.
4 */
5STARTUP(LIBC_PREFIX/arch/UARCH/src/entry.o)
6ENTRY(__entry)
7
8PHDRS {
9 interp PT_INTERP;
10 text PT_LOAD FLAGS(5);
11 data PT_LOAD FLAGS(6);
12}
13
14SECTIONS {
15 .interp : {
16 *(.interp);
17 } : interp
18
19 . = 0x70001000;
20
21 .init ALIGN(0x1000): SUBALIGN(0x1000) {
22 *(.init);
23 } : text
24 .text : {
25 *(.text);
26 *(.rodata*);
27 } :text
28
29 .data ALIGN(0x1000) : SUBALIGN(0x1000) {
30 *(.opd);
31 *(.data .data.*);
32 *(.sdata);
33 } :data
34 .tdata : {
35 _tdata_start = .;
36 *(.tdata);
37 _tdata_end = .;
38 } :data
39 .tbss : {
40 _tbss_start = .;
41 *(.tbss);
42 _tbss_end = .;
43 } :data
44 _tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss));
45 .bss : {
46 *(.sbss);
47 *(.scommon);
48 *(COMMON);
49 *(.bss);
50 } :data
51
52 . = ALIGN(0x1000);
53 _heap = .;
54
55 /DISCARD/ : {
56 *(*);
57 }
58
59}
Note: See TracBrowser for help on using the repository browser.