aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
Diffstat (limited to 'ld/emulparams')
-rw-r--r--ld/emulparams/.Sanitize1
-rw-r--r--ld/emulparams/elf32ppc.sh11
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