diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-02-25 03:32:08 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-02-25 03:32:08 +0000 |
commit | c361ce46c5c99957614bcb39184c98c139d7c66a (patch) | |
tree | 59b5078dc911037035f2b90cb8da523a967c613f /ld/emulparams | |
parent | d4e5e3c330d5b2e7b6b972e03b1997a88270f703 (diff) | |
download | gdb-c361ce46c5c99957614bcb39184c98c139d7c66a.zip gdb-c361ce46c5c99957614bcb39184c98c139d7c66a.tar.gz gdb-c361ce46c5c99957614bcb39184c98c139d7c66a.tar.bz2 |
* configure.in (powerpc-*-elf*): New target; use ppc-elf32.
* 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.
Diffstat (limited to 'ld/emulparams')
-rw-r--r-- | ld/emulparams/.Sanitize | 1 | ||||
-rw-r--r-- | ld/emulparams/elf32ppc.sh | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/ld/emulparams/.Sanitize b/ld/emulparams/.Sanitize index 0237707..aef97ac 100644 --- a/ld/emulparams/.Sanitize +++ b/ld/emulparams/.Sanitize @@ -32,6 +32,7 @@ ebmon29k.sh elf32_sparc.sh elf64_sparc.sh elf32mipb.sh +elf32ppc.sh elf_i386.sh gld960.sh go32.sh diff --git a/ld/emulparams/elf32ppc.sh b/ld/emulparams/elf32ppc.sh new file mode 100644 index 0000000..792265b --- /dev/null +++ b/ld/emulparams/elf32ppc.sh @@ -0,0 +1,11 @@ +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 |