source: mainline/libc/arch/mips32/_link.ld.in@ 432c648

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

Completed support for TLS in GCC (modifier thread) for ia32,amd64,ia64 and mips.

  • Property mode set to 100644
File size: 638 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
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 _heap = .;
49 LONG(0xdeadbeef);
50 } :data
51
52 /DISCARD/ : {
53 *(*);
54 }
55}
Note: See TracBrowser for help on using the repository browser.