summaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1993-07-12 14:59:29 +0000
committerKen Raeburn <raeburn@cygnus>1993-07-12 14:59:29 +0000
commit96593d4b82db88808e6de2b124f89add463f2a8f (patch)
treeb513db4e6a45861a794db542d6276eed24e60e21 /ld
parentba9ca6a38792bb5426c6272b99c47be76d8780c6 (diff)
downloadbinutils-96593d4b82db88808e6de2b124f89add463f2a8f.tar.gz
binutils-96593d4b82db88808e6de2b124f89add463f2a8f.tar.bz2
binutils-96593d4b82db88808e6de2b124f89add463f2a8f.zip
Solaris 2 configuration; sparc64 sanitization.
Diffstat (limited to 'ld')
-rw-r--r--ld/config/.Sanitize16
-rw-r--r--ld/config/sun4sol2.mt5
2 files changed, 21 insertions, 0 deletions
diff --git a/ld/config/.Sanitize b/ld/config/.Sanitize
index 007c7d774af..a021d27cf94 100644
--- a/ld/config/.Sanitize
+++ b/ld/config/.Sanitize
@@ -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
index 00000000000..34750f853b5
--- /dev/null
+++ b/ld/config/sun4sol2.mt
@@ -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