Rev 943 | Rev 985 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 943 | Rev 948 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | STARTUP(../libc/arch/ARCH/src/entry.o) |
1 | STARTUP(../libc/arch/ARCH/src/entry.o) |
2 | ENTRY(__entry) |
2 | ENTRY(__entry) |
3 | 3 | ||
- | 4 | PHDRS { |
|
- | 5 | text PT_LOAD FLAGS(5); |
|
- | 6 | data PT_LOAD FLAGS(6); |
|
- | 7 | } |
|
- | 8 | ||
4 | SECTIONS { |
9 | SECTIONS { |
5 | . = 0x4000; |
10 | . = 0x4000; |
- | 11 | ||
6 | .init : SUBALIGN(0x4000) { |
12 | .init ALIGN(0x4000) : SUBALIGN(0x4000) { |
7 | *(.init); |
13 | *(.init); |
8 | } |
14 | } :text |
9 | .text : { |
15 | .text : { |
10 | *(.text); |
16 | *(.text); |
11 | *(.rodata*); |
17 | *(.rodata*); |
- | 18 | } :text |
|
12 | } |
19 | |
13 | .data ALIGN(0x4000) : { |
20 | .data ALIGN(0x4000) : SUBALIGN(0x4000) { |
14 | *(.data); |
21 | *(.data); |
15 | } |
22 | } :data |
16 | .bss : { |
23 | .bss : { |
17 | *(.bss); |
24 | *(.bss); |
18 | *(.sbss); |
25 | *(.sbss); |
19 | *(COMMON); |
26 | *(COMMON); |
- | 27 | } :data |
|
20 | } |
28 | |
21 | /DISCARD/ : { |
29 | /DISCARD/ : { |
22 | *(*); |
30 | *(*); |
23 | } |
31 | } |
24 | } |
32 | } |