Rev 795 | Rev 985 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 795 | 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 | ||
- | 10 | . = 0x1000; |
|
6 | .text 0x00001000 : { |
11 | .image 0x00001000 : { |
- | 12 | *(.text); |
|
- | 13 | *(.data); /* initialized data */ |
|
- | 14 | *(.rodata*); /* string literals */ |
|
- | 15 | *(COMMON); /* global variables */ |
|
- | 16 | *(.bss); /* uninitialized static variables */ |
|
- | 17 | } :image |
|
- | 18 | ||
- | 19 | /DISCARD/ : { |
|
- | 20 | *(.note.GNU-stack); |
|
- | 21 | *(.comment); |
|
7 | } |
22 | } |
- | 23 | ||
8 | } |
24 | } |