Rev 948 | Rev 1043 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
908 | jermar | 1 | STARTUP(../libc/arch/ARCH/src/entry.o) |
2 | ENTRY(__entry) |
||
3 | |||
948 | jermar | 4 | PHDRS { |
5 | text PT_LOAD FLAGS(5); |
||
6 | data PT_LOAD FLAGS(6); |
||
7 | } |
||
8 | |||
908 | jermar | 9 | SECTIONS { |
948 | jermar | 10 | . = 0x4000; |
11 | |||
12 | .init ALIGN(0x4000): SUBALIGN(0x4000) { |
||
13 | *(.init); |
||
14 | } : text |
||
15 | .text : { |
||
16 | *(.text); |
||
17 | *(.rodata*); |
||
18 | } :text |
||
19 | |||
20 | .got ALIGN(0x4000) : SUBALIGN(0x4000) { |
||
21 | *(.got*); |
||
22 | } :data |
||
23 | .data : { |
||
24 | _gp = .; |
||
25 | *(.opd); |
||
26 | *(.data); |
||
27 | *(.sdata); |
||
28 | } :data |
||
29 | .bss : { |
||
30 | *(.sbss); |
||
31 | *(.scommon); |
||
908 | jermar | 32 | *(COMMON); |
948 | jermar | 33 | *(.bss); |
985 | palkovsky | 34 | _heap = .; |
35 | QUAD(0xdeadbeef); |
||
948 | jermar | 36 | } :data |
908 | jermar | 37 | |
38 | /DISCARD/ : { |
||
948 | jermar | 39 | *(*); |
908 | jermar | 40 | } |
41 | } |