Solaris 2 configuration; sparc64 sanitization.
authorKen Raeburn <raeburn@cygnus>
Mon, 12 Jul 1993 14:59:29 +0000 (14:59 +0000)
committerKen Raeburn <raeburn@cygnus>
Mon, 12 Jul 1993 14:59:29 +0000 (14:59 +0000)
ld/config/.Sanitize
ld/config/sun4sol2.mt [new file with mode: 0644]

index 007c7d774afcdd4c3305bee8ce4d2d9e1db2e4b2..a021d27cf944198662c114c8fd8da778e3b0f3bc 100644 (file)
@@ -59,11 +59,13 @@ news.mt
 ose68.mt
 rtbsd.mh
 sa29200.mt
+sparc64-elf.mt
 sparc-ll.mh
 st2000.mt
 sun3.mh
 sun3.mt
 sun4.mt
+sun4sol2.mt
 vax.mt
 vxworks68.mt
 z8ksim.mt
@@ -76,3 +78,17 @@ Things-to-lose:
 
 Do-last:
 
+if ( echo $* | grep keep-v9 > /dev/null ) ; then
+       if [ -n "${verbose}" ] ; then
+               echo Keeping `pwd`/sparc64-elf.mt.
+       fi
+else
+       if [ -n "${verbose}" ] ; then
+               echo Removing `pwd`/sparc64-elf.mt.
+       fi
+       if [ -n "${safe}" ] ; then
+               mv sparc64-elf.mt .Recover
+       else
+               rm sparc64-elf.mt
+       fi
+fi
diff --git a/ld/config/sun4sol2.mt b/ld/config/sun4sol2.mt
new file mode 100644 (file)
index 0000000..34750f8
--- /dev/null
@@ -0,0 +1,5 @@
+EMUL=elf32_sparc
+OTHER_EMULATIONS= em_elf32_sparc.o
+em_elf32_sparc.c: $(srcdir)/emulparams/elf32-sparc.sh \
+  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
+       ${GENSCRIPTS} elf32-sparc.sh