summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/ld/emulparams
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-06-09 19:36:21 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-06-09 19:36:21 +0000
commit6d1a1e9781ac4dad9bbc6d8646c5c300b151a63d (patch)
tree0f273d6f10c5a4e81364939521b67fac1f12c4f2 /gnu/usr.bin/binutils/ld/emulparams
parentc9242b7786daa5bff4bc728331c905be711e0289 (diff)
Import of binutils, gas, ld & gprof from Cygnus 960609 tree
Diffstat (limited to 'gnu/usr.bin/binutils/ld/emulparams')
-rw-r--r--gnu/usr.bin/binutils/ld/emulparams/m68kaux.sh8
-rw-r--r--gnu/usr.bin/binutils/ld/emulparams/m68klinux.sh7
-rw-r--r--gnu/usr.bin/binutils/ld/emulparams/m68kpsos.sh6
-rw-r--r--gnu/usr.bin/binutils/ld/emulparams/ppcmacos.sh4
-rw-r--r--gnu/usr.bin/binutils/ld/emulparams/sparcaout.sh6
5 files changed, 31 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/ld/emulparams/m68kaux.sh b/gnu/usr.bin/binutils/ld/emulparams/m68kaux.sh
new file mode 100644
index 00000000000..19e86cc6cd1
--- /dev/null
+++ b/gnu/usr.bin/binutils/ld/emulparams/m68kaux.sh
@@ -0,0 +1,8 @@
+SCRIPT_NAME=m68kaux
+OUTPUT_FORMAT="coff-m68k-aux"
+SEGMENT_SIZE=0x40000
+TARGET_PAGE_SIZE=0x1000
+TEXT_START_ADDR="$SEGMENT_SIZE + SIZEOF_HEADERS"
+NON_PAGED_TEXT_START_ADDR=SIZEOF_HEADERS
+DATA_ALIGNMENT_="(. & (-$SEGMENT_SIZE | $TARGET_PAGE_SIZE-1)) + $SEGMENT_SIZE"
+ARCH=m68k
diff --git a/gnu/usr.bin/binutils/ld/emulparams/m68klinux.sh b/gnu/usr.bin/binutils/ld/emulparams/m68klinux.sh
new file mode 100644
index 00000000000..56c3dad9bfc
--- /dev/null
+++ b/gnu/usr.bin/binutils/ld/emulparams/m68klinux.sh
@@ -0,0 +1,7 @@
+SCRIPT_NAME=aout
+OUTPUT_FORMAT="a.out-m68k-linux"
+TARGET_PAGE_SIZE=0x1000
+TEXT_START_ADDR=0x1020
+NONPAGED_TEXT_START_ADDR=0
+ARCH=m68k
+TEMPLATE_NAME=linux
diff --git a/gnu/usr.bin/binutils/ld/emulparams/m68kpsos.sh b/gnu/usr.bin/binutils/ld/emulparams/m68kpsos.sh
new file mode 100644
index 00000000000..34eb8ca549c
--- /dev/null
+++ b/gnu/usr.bin/binutils/ld/emulparams/m68kpsos.sh
@@ -0,0 +1,6 @@
+SCRIPT_NAME=psos
+OUTPUT_FORMAT="elf32-m68k"
+TEXT_START_ADDR=0x20000
+MAXPAGESIZE=0x1000
+ARCH=m68k
+TEMPLATE_NAME=elf32
diff --git a/gnu/usr.bin/binutils/ld/emulparams/ppcmacos.sh b/gnu/usr.bin/binutils/ld/emulparams/ppcmacos.sh
new file mode 100644
index 00000000000..b6b800c2c6c
--- /dev/null
+++ b/gnu/usr.bin/binutils/ld/emulparams/ppcmacos.sh
@@ -0,0 +1,4 @@
+TEMPLATE_NAME=aix
+SCRIPT_NAME=aix
+OUTPUT_FORMAT="xcoff-powermac"
+ARCH=powerpc
diff --git a/gnu/usr.bin/binutils/ld/emulparams/sparcaout.sh b/gnu/usr.bin/binutils/ld/emulparams/sparcaout.sh
new file mode 100644
index 00000000000..5e01c28e57d
--- /dev/null
+++ b/gnu/usr.bin/binutils/ld/emulparams/sparcaout.sh
@@ -0,0 +1,6 @@
+SCRIPT_NAME=aout
+OUTPUT_FORMAT="a.out-sunos-big"
+TEXT_START_ADDR=0x2020
+TARGET_PAGE_SIZE=0x2000
+NONPAGED_TEXT_START_ADDR=0x2000
+ARCH=sparc