1 OUTPUT_FORMAT(elf64-powerpc)
2 OUTPUT_ARCH(powerpc:common64)
4 /* Initial load address
6 BASE_ADDR = 0xfff00000;
8 /* As NVRAM is at 0xfff04000, the .text needs to be after that
9 * The value in arch/ppc/qemu/kernel.c must match this value!
11 TEXT_ADDR = 0xfff08000;
13 /* Hard reset vector address
15 HRESET_ADDR = 0xfffffffc;
17 CSTACK_SIZE = 32768; /* client stack size */
23 _start = BASE_ADDR + 0x0100;
24 .text.vectors ALIGN(4096): {
30 .data.dict ALIGN(4096): {
41 .rodata ALIGN(4096): {
76 .romentry : { *(.romentry) }
81 /* We discard .note sections other than .note.ELFBoot,
82 * because some versions of GCC generates useless ones. */
84 /DISCARD/ : { *(.comment*) *(.note.*) }