Rev 805 | Rev 985 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 805 | Rev 937 | ||
---|---|---|---|
Line 1... | Line -... | ||
1 | OUTPUT_FORMAT(binary) |
- | |
2 | STARTUP(../libc/arch/ARCH/src/entry.o) |
1 | STARTUP(../libc/arch/ARCH/src/entry.o) |
3 | ENTRY(__entry) |
2 | ENTRY(__entry) |
4 | 3 | ||
- | 4 | PHDRS { |
|
- | 5 | image PT_LOAD AT (0x1000); |
|
- | 6 | } |
|
- | 7 | ||
5 | SECTIONS { |
8 | SECTIONS { |
- | 9 | . = 0x1000; |
|
6 | .text 0x00001000 : { |
10 | .image ALIGN(0x1000) : { |
- | 11 | *(.text); |
|
- | 12 | *(.data); /* initialized data */ |
|
- | 13 | *(.rodata*); /* string literals */ |
|
- | 14 | *(COMMON); /* global variables */ |
|
- | 15 | *(.eh_frame); |
|
- | 16 | *(.bss); /* uninitialized static variables */ |
|
- | 17 | } :image |
|
- | 18 | ||
- | 19 | ||
- | 20 | /DISCARD/ : { |
|
- | 21 | *(.note.GNU-stack); |
|
- | 22 | *(.comment); |
|
7 | } |
23 | } |
- | 24 | ||
8 | } |
25 | } |