source: mainline/libc/arch/mips32/_link.ld.in@ 520492a

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 520492a was a71d9af9, checked in by Ondrej Palkovsky <ondrap@…>, 19 years ago

Changed MIPS to compile as PIC code.

  • Property mode set to 100644
File size: 495 bytes
Line 
1STARTUP(../libc/arch/ARCH/src/entry.o)
2ENTRY(__start)
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 .got : {
25 _gp = .;
26 *(.got);
27 } :data
28 .sbss : {
29 *(.scommon);
30 *(.sbss);
31 }
32 .bss : {
33 *(.bss);
34 *(COMMON);
35 _heap = .;
36 LONG(0xdeadbeef);
37 } :data
38
39 /DISCARD/ : {
40 *(*);
41 }
42}
Note: See TracBrowser for help on using the repository browser.