aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cygnus>1995-10-28 01:40:02 +0000
committerNiklas Hallqvist <niklas@cygnus>1995-10-28 01:40:02 +0000
commitd0ae7d95f7baa1bb127fe26690caa1b83c811a5b (patch)
tree4de638d8abe617553e20d6f8e51d58423fbee4d7 /ld/emulparams
parent6fd1f40d2204c80d175d9ac63a5aedeb5f9c2970 (diff)
downloadgdb-d0ae7d95f7baa1bb127fe26690caa1b83c811a5b.zip
gdb-d0ae7d95f7baa1bb127fe26690caa1b83c811a5b.tar.gz
gdb-d0ae7d95f7baa1bb127fe26690caa1b83c811a5b.tar.bz2
* Makefile.in (ALL_EMULATIONS): Added support for the NetBSD
m68k4k arch. (em68k4knbsd.c): New rule. * configure.tgt: Added support for the NetBSD m68k4k arch. * genscripts.sh, ldint.texinfo, emulparams/{a29k,armaoutb,armaoutl,coff_sparc,ebmon29k,gld960, gld960coff,go32,h8300,h8300h,h8500,h8500b,h8500c,h8500m,h8500s, hp300bsd,hp3hpux,hppaelf.sh,i386aout,i386bsd,i386coff,i386go32, i386linux,i386lynx,i386nbsd,lnk960,m68kaout,m68kcoff,m68klynx, m88kbcs,mipsbig,mipsbsd,mipsidt,mipsidtl,mipslit,news,ns32knbsd, pc532machaout,rce,riscix,sa29200,sh,shl,sparclynx,sparcnbsd, st2000,sun3,sun4,vanilla,vax,vsta,w65,z8001,z8002}.sh: Changed PAGE_SIZE to TARGET_PAGE_SIZE. * emulparams/m68knbsd.h: Ditto. (TEXT_START_ADDR, NONPAGED_TEXT_START_ADDR): We have 8K pagesize. (EXECUTABLE_SYMBOLS): Hardcode __DYNAMIC to zero for the time being. * emulparams/m68k4knbsd.sh: New file. * scripttempl/aout.sc: Expand EXECUTABLE_SYMBOLS if relocating.
Diffstat (limited to 'ld/emulparams')
-rw-r--r--ld/emulparams/a29k.sh2
-rw-r--r--ld/emulparams/ebmon29k.sh2
-rw-r--r--ld/emulparams/go32.sh2
-rw-r--r--ld/emulparams/i386nbsd.sh5
-rw-r--r--ld/emulparams/m68k4knbsd.sh7
-rw-r--r--ld/emulparams/m68klynx.sh2
-rw-r--r--ld/emulparams/pc532machaout.sh2
-rw-r--r--ld/emulparams/rce.sh2
-rw-r--r--ld/emulparams/sa29200.sh2
-rw-r--r--ld/emulparams/sparclynx.sh2
10 files changed, 20 insertions, 8 deletions
diff --git a/ld/emulparams/a29k.sh b/ld/emulparams/a29k.sh
index 43a85e8..89c8e85 100644
--- a/ld/emulparams/a29k.sh
+++ b/ld/emulparams/a29k.sh
@@ -1,5 +1,5 @@
SCRIPT_NAME=a29k
OUTPUT_FORMAT="coff-a29k-big"
TEXT_START_ADDR=0x1000000
-PAGE_SIZE=0x1000000
+TARGET_PAGE_SIZE=0x1000000
ARCH=a29k
diff --git a/ld/emulparams/ebmon29k.sh b/ld/emulparams/ebmon29k.sh
index 43ef5bd..fbc2bd1 100644
--- a/ld/emulparams/ebmon29k.sh
+++ b/ld/emulparams/ebmon29k.sh
@@ -1,5 +1,5 @@
SCRIPT_NAME=ebmon29k
OUTPUT_FORMAT="coff-a29k-big"
TEXT_START_ADDR=0x8000
-PAGE_SIZE=0x1000
+TARGET_PAGE_SIZE=0x1000
ARCH=a29k
diff --git a/ld/emulparams/go32.sh b/ld/emulparams/go32.sh
index 97271a0..d13357f 100644
--- a/ld/emulparams/go32.sh
+++ b/ld/emulparams/go32.sh
@@ -1,7 +1,7 @@
SCRIPT_NAME=go32coff
OUTPUT_FORMAT="coff-go32"
TEXT_START_ADDR=0x10a8
-PAGE_SIZE=0x1000
+TARGET_PAGE_SIZE=0x1000
SEGMENT_SIZE=0x1000
NONPAGED_TEXT_START_ADDR=0x0
ARCH=i386
diff --git a/ld/emulparams/i386nbsd.sh b/ld/emulparams/i386nbsd.sh
new file mode 100644
index 0000000..fcc7449
--- /dev/null
+++ b/ld/emulparams/i386nbsd.sh
@@ -0,0 +1,5 @@
+SCRIPT_NAME=aout
+TEXT_START_ADDR=0x1020
+OUTPUT_FORMAT="a.out-i386-netbsd"
+TARGET_PAGE_SIZE=0x1000
+ARCH=i386
diff --git a/ld/emulparams/m68k4knbsd.sh b/ld/emulparams/m68k4knbsd.sh
new file mode 100644
index 0000000..1bc24c0e
--- /dev/null
+++ b/ld/emulparams/m68k4knbsd.sh
@@ -0,0 +1,7 @@
+SCRIPT_NAME=aout
+TEXT_START_ADDR=0x1020
+NONPAGED_TEXT_START_ADDR=0x1000
+OUTPUT_FORMAT="a.out-m68k4k-netbsd"
+TARGET_PAGE_SIZE=0x1000
+ARCH=m68k
+EXECUTABLE_SYMBOLS='__DYNAMIC = 0;'
diff --git a/ld/emulparams/m68klynx.sh b/ld/emulparams/m68klynx.sh
index a280177..b020feb 100644
--- a/ld/emulparams/m68klynx.sh
+++ b/ld/emulparams/m68klynx.sh
@@ -4,5 +4,5 @@ OUTPUT_FORMAT="coff-m68k-lynx"
ENTRY=__main
# following are dubious
TEXT_START_ADDR=0
-PAGE_SIZE=0x1000
+TARGET_PAGE_SIZE=0x1000
ARCH=m68k
diff --git a/ld/emulparams/pc532machaout.sh b/ld/emulparams/pc532machaout.sh
index caa8081..07aa985 100644
--- a/ld/emulparams/pc532machaout.sh
+++ b/ld/emulparams/pc532machaout.sh
@@ -1,7 +1,7 @@
EMULATION_NAME=pc532machaout
SCRIPT_NAME=aout
OUTPUT_FORMAT="a.out-pc532-mach"
-PAGE_SIZE=0x1000
+TARGET_PAGE_SIZE=0x1000
TEXT_START_ADDR="0x10020"
NONPAGED_TEXT_START_ADDR=0x10000
ARCH=ns32k
diff --git a/ld/emulparams/rce.sh b/ld/emulparams/rce.sh
index 7bc1f86..7f15c93 100644
--- a/ld/emulparams/rce.sh
+++ b/ld/emulparams/rce.sh
@@ -1,6 +1,6 @@
SCRIPT_NAME=rce
OUTPUT_FORMAT="a.out-rce"
-PAGE_SIZE=0x1000
+TARGET_PAGE_SIZE=0x1000
TEXT_START_ADDR=0
NONPAGED_TEXT_START_ADDR=0
ARCH=rce
diff --git a/ld/emulparams/sa29200.sh b/ld/emulparams/sa29200.sh
index 91c07d3..8b52f92 100644
--- a/ld/emulparams/sa29200.sh
+++ b/ld/emulparams/sa29200.sh
@@ -1,5 +1,5 @@
SCRIPT_NAME=sa29200
OUTPUT_FORMAT="coff-a29k-big"
TEXT_START_ADDR=0x40004000
-PAGE_SIZE=0x1000
+TARGET_PAGE_SIZE=0x1000
ARCH=a29k
diff --git a/ld/emulparams/sparclynx.sh b/ld/emulparams/sparclynx.sh
index c85c8d5..9aeb30b 100644
--- a/ld/emulparams/sparclynx.sh
+++ b/ld/emulparams/sparclynx.sh
@@ -3,7 +3,7 @@ OUTPUT_FORMAT="coff-sparc-lynx"
# This is what LynxOS /lib/init1.o wants.
ENTRY=__main
# following are dubious
-PAGE_SIZE=0x1000
+TARGET_PAGE_SIZE=0x1000
TEXT_START_ADDR=0
NONPAGED_TEXT_START_ADDR=0x1000
ARCH=sparc