Rev 937 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 937 | Rev 948 | ||
---|---|---|---|
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); |
12 | *(.data); /* initialized data */ |
- | |
13 | *(.rodata*); /* string literals */ |
- | |
14 | *(COMMON); /* global variables */ |
- | |
15 | *(.eh_frame); |
17 | *(.rodata*); |
16 | *(.bss); /* uninitialized static variables */ |
- | |
17 | } :image |
18 | } :text |
18 | 19 | ||
- | 20 | .data ALIGN(0x1000) : SUBALIGN(0x1000) { |
|
- | 21 | *(.data); |
|
- | 22 | } :data |
|
- | 23 | .bss : { |
|
- | 24 | *(COMMON); |
|
- | 25 | *(.bss); |
|
- | 26 | } :data |
|
19 | 27 | ||
20 | /DISCARD/ : { |
28 | /DISCARD/ : { |
21 | *(.note.GNU-stack); |
- | |
22 | *(.comment); |
29 | *(*); |
23 | } |
30 | } |
24 | 31 | ||
25 | } |
32 | } |
26 | 33 |