c361ce46c5
* config/ppc-elf32.mt: New file. * emulparams/elf32ppc.sh: New file. * emultempl/ppc.em: New file. * Makefile.in (ALL_EMULATIONS): Added em_elf32ppc.o. (em_elf32ppc.c): New target; uses elf32ppc.sh, ppc.em and elf.sc. (EMULATION_OFILES): Added dependencies on ldexp.h and ldlang.h.
12 lines
231 B
Bash
12 lines
231 B
Bash
TEMPLATE_NAME=ppc
|
|
SCRIPT_NAME=elf
|
|
OUTPUT_FORMAT="elf32-powerpc"
|
|
TEXT_START_ADDR=0x0400000
|
|
DATA_ADDR=0x10000000
|
|
MAXPAGESIZE=0x40000
|
|
NONPAGED_TEXT_START_ADDR=0x0400000
|
|
OTHER_READWRITE_SECTIONS='
|
|
.toc . : { *(.toc) }
|
|
'
|
|
ARCH=powerpc
|