Rev 937 | Rev 985 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 937 | 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 { |
4 | PHDRS { |
- | 5 | text PT_LOAD FLAGS(5); |
|
5 | image PT_LOAD AT (0x1000); |
6 | data PT_LOAD FLAGS(6); |
6 | } |
7 | } |
7 | 8 | ||
8 | SECTIONS { |
9 | SECTIONS { |
9 | . = 0x1000; |
10 | . = 0x1000; |
- | 11 | ||
10 | .image ALIGN(0x1000) : { |
12 | .init ALIGN(0x1000) : SUBALIGN(0x1000) { |
- | 13 | *(.init); |
|
- | 14 | } :text |
|
- | 15 | .text : { |
|
11 | *(.text); |
16 | *(.text); |
- | 17 | *(.rodata*); |
|
- | 18 | } :text |
|
- | 19 | ||
12 | *(.data); /* initialized data */ |
20 | .data ALIGN(0x1000) : SUBALIGN(0x1000) { |
13 | *(.rodata*); /* string literals */ |
21 | *(.data); |
- | 22 | } :data |
|
- | 23 | .bss : { |
|
14 | *(COMMON); /* global variables */ |
24 | *(COMMON); |
15 | *(.eh_frame); |
25 | *(.bss); |
16 | *(.bss); /* uninitialized static variables */ |
- | |
17 | } :image |
26 | } :data |
18 | - | ||
19 | 27 | ||
20 | /DISCARD/ : { |
28 | /DISCARD/ : { |
21 | *(.note.GNU-stack); |
- | |
22 | *(.comment); |
29 | *(*); |
23 | } |
30 | } |
24 | 31 | ||
25 | } |
32 | } |