source: mainline/libc/arch/mips32/_link.ld.in@ 10569b1

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

Change linker scripts so that heap a dedicated address space area can be allocated for heap.
This will be essential in separating anonymous memory and memory backed by some other memory object.

  • Property mode set to 100644
File size: 638 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 . = 0x4000;
11
12 .init ALIGN(0x4000) : SUBALIGN(0x4000) {
13 *(.init);
14 } :text
15 .text : {
16 *(.text);
17 *(.rodata*);
18 } :text
19
20 .data : {
21 *(.data);
22 *(.data.rel*);
23 } :data
24
25 .got : {
26 _gp = .;
27 *(.got);
28 } :data
29
30 .tdata : {
31 _tdata_start = .;
32 *(.tdata);
33 _tdata_end = .;
34 } :data
35 .tbss : {
36 _tbss_start = .;
37 *(.tbss);
38 _tbss_end = .;
39 } :data
40
41 .sbss : {
42 *(.scommon);
43 *(.sbss);
44 }
45 .bss : {
46 *(.bss);
47 *(COMMON);
48 } :data
49
50 . = ALIGN(0x4000);
51 _heap = .;
52
53 /DISCARD/ : {
54 *(*);
55 }
56}
Note: See TracBrowser for help on using the repository browser.