* Makefile.in (ALL_EMULATIONS): Added support for the NetBSD
authorNiklas Hallqvist <niklas@cygnus>
Sat, 28 Oct 1995 01:40:02 +0000 (01:40 +0000)
committerNiklas Hallqvist <niklas@cygnus>
Sat, 28 Oct 1995 01:40:02 +0000 (01:40 +0000)
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.

13 files changed:
ld/ChangeLog
ld/Makefile.in
ld/configure.tgt
ld/emulparams/a29k.sh
ld/emulparams/ebmon29k.sh
ld/emulparams/go32.sh
ld/emulparams/i386nbsd.sh [new file with mode: 0644]
ld/emulparams/m68k4knbsd.sh [new file with mode: 0644]
ld/emulparams/m68klynx.sh
ld/emulparams/pc532machaout.sh
ld/emulparams/rce.sh
ld/emulparams/sa29200.sh
ld/emulparams/sparclynx.sh

index 72c2a7b..754a575 100644 (file)
@@ -1,3 +1,30 @@
+Fri Oct 27 18:03:17 1995  Niklas Hallqvist  <niklas@appli.se>
+
+       *  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.
+       
 Fri Oct 27 17:59:09 1995  Ian Lance Taylor  <ian@cygnus.com>
 
        * emultempl/aix.em: Include ldctor.h.
index 38b9877..74ad689 100644 (file)
@@ -197,8 +197,8 @@ ALL_EMULATIONS = ea29k.o ealpha.o earmaoutl.o earmaoutb.o \
        eh8300h.o eh8500.o eh8500b.o eh8500c.o eh8500m.o eh8500s.o \
        ehp300bsd.o ehp3hpux.o ehppaelf.o ei386aout.o ei386bsd.o \
        ei386coff.o ei386go32.o ei386linux.o ei386lynx.o ei386mach.o \
-       ei386nbsd.o ei386nw.o elnk960.o em68kaout.o em68kcoff.o em68kelf.o \
-       em68klynx.o em68knbsd.o em88kbcs.o emipsbig.o emipsbsd.o \
+       ei386nbsd.o ei386nw.o elnk960.o em68k4knbsd.o em68kaout.o em68kcoff.o \
+       em68kelf.o em68klynx.o em68knbsd.o em88kbcs.o emipsbig.o emipsbsd.o \
        emipsidt.o emipsidtl.o emipslit.o enews.o ens32knbsd.o eppcnw.o \
        eriscix.o esa29200.o eshl.o esh.o esparclynx.o esparcnbsd.o \
        est2000.o esun3.o esun4.o evanilla.o evax.o evsta.o \
@@ -467,6 +467,9 @@ eppcnw.c:   $(srcdir)/emulparams/ppcnw.sh \
 ei386nbsd.c:   $(srcdir)/emulparams/i386nbsd.sh \
   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
        ${GENSCRIPTS} i386nbsd
+em68k4knbsd.c: $(srcdir)/emulparams/m68k4knbsd.sh \
+  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
+       ${GENSCRIPTS} m68k4knbsd
 em68knbsd.c:   $(srcdir)/emulparams/m68knbsd.sh \
   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
        ${GENSCRIPTS} m68knbsd
index 6d82a08..506a1fd 100644 (file)
@@ -70,6 +70,7 @@ a29k-*-*)             targ_emul=a29k ;;
 #  arm-*-riscix*)              targ_emul=riscix ;;
 arm-*-aout | armel-*-aout) targ_emul=armaoutl ;;
 armeb-*-aout)          targ_emul=armaoutb ;;
+arm-*-coff)            targ_emul=armcoff ;;
 h8300-*-hms)           targ_emul=h8300; targ_extra_emuls=h8300h ;;
 h8500-*-hms)           targ_emul=h8500
                        targ_extra_emuls="h8500s h8500b h8500m h8500c"
@@ -85,6 +86,7 @@ m68*-*-coff)          targ_emul=m68kcoff ;;
 m68*-*-elf)            targ_emul=m68kelf ;;
 m68*-*-hpux*)          targ_emul=hp3hpux ;;
 m68*-*-lynxos*)                targ_emul=m68klynx ;;
+m68*-hp*-netbsd*)      targ_emul=m68k4knbsd ;;
 m68*-*-netbsd*)                targ_emul=m68knbsd ;;
 hppa*-*-*elf*)         targ_emul=hppaelf ;;
 hppa*-*-lites*)                targ_emul=hppaelf ;;
@@ -95,9 +97,10 @@ mips*-sgi-irix*)     targ_emul=mipsbig ;;
 mips*el-*-ecoff*)      targ_emul=mipsidtl ;;
 mips*-*-ecoff*)                targ_emul=mipsidt ;;
 mips*-dec-bsd*)                targ_emul=mipsbsd ;;
+mips*-dec-netbsd*)     targ_emul=elf32lmip ;;
 mips*-*-bsd*)          targ_emul=mipsbig ;;
-mips*vr4300el-*-elf*)  targ_emul=elf32vr4300el ;;
-mips*vr4300-*-elf*)    targ_emul=elf32vr4300 ;;
+mips*vr4300el-*-elf*)  targ_emul=elf32l4300 ;;
+mips*vr4300-*-elf*)    targ_emul=elf32b4300 ;;
 mips*el-*-elf*)                targ_emul=elf32lmip ;;
 mips*-*-elf*)          targ_emul=elf32bmip ;;
 alpha-*-osf*)          targ_emul=alpha ;;
@@ -108,6 +111,8 @@ ns32k-pc532-netbsd* | ns32k-pc532-lites*) targ_emul=ns32knbsd ;;
 powerpc-*-elf* | powerpc-*-eabi*)      targ_emul=elf32ppc ;;
 powerpcle-*-elf* | powerpcle-*-eabi*)  targ_emul=elf32lppc ;;
 powerpc-*-netware*)    targ_emul=ppcnw ;;
+powerpc-*-aix*)                targ_emul=aixppc ;;
+rs6000-*-aix*)         targ_emul=aixrs6 ;;
 w65-*-*)               targ_emul=w65 ;;
 *-*-aout)              targ_emul=${target_cpu}-${target_vendor} ;;
 *-*-coff)              targ_emul=${target_cpu}-${target_vendor} ;;
index 43a85e8..89c8e85 100644 (file)
@@ -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
index 43ef5bd..fbc2bd1 100644 (file)
@@ -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
index 97271a0..d13357f 100644 (file)
@@ -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 (file)
index 0000000..fcc7449
--- /dev/null
@@ -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 (file)
index 0000000..1bc24c0
--- /dev/null
@@ -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;'
index a280177..b020feb 100644 (file)
@@ -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
index caa8081..07aa985 100644 (file)
@@ -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
index 7bc1f86..7f15c93 100644 (file)
@@ -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
index 91c07d3..8b52f92 100644 (file)
@@ -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
index c85c8d5..9aeb30b 100644 (file)
@@ -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