Rev 418 | Rev 457 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 418 | Rev 455 | ||
---|---|---|---|
Line 1... | Line -... | ||
1 | /* |
- | |
2 | * PPC32 linker script |
1 | /** PPC32 linker script |
3 | * |
2 | * |
4 | * It is ELF format, but its only section looks like this: |
3 | * It is ELF format, but its only section looks like this: |
5 | * kernel text |
4 | * kernel text |
6 | * kernel data |
5 | * kernel data |
7 | * |
6 | * |
8 | */ |
7 | */ |
9 | 8 | ||
- | 9 | #define __ASM__ |
|
- | 10 | ||
10 | OUTPUT_FORMAT(elf32-powerpc) |
11 | OUTPUT_FORMAT("elf32-powerpc") |
11 | ENTRY(kernel_image_start) |
12 | ENTRY(kernel_image_start) |
12 | 13 | ||
13 | SECTIONS { |
14 | SECTIONS { |
14 | .image 0x80000000: AT (0x80000000) { |
15 | .image 0x80000000: AT (0x80000000) { |
15 | ktext_start = .; |
16 | ktext_start = .; |