aboutsummaryrefslogtreecommitdiff
path: root/ld/.Sanitize
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-02-25 03:32:08 +0000
committerIan Lance Taylor <ian@airs.com>1994-02-25 03:32:08 +0000
commitc361ce46c5c99957614bcb39184c98c139d7c66a (patch)
tree59b5078dc911037035f2b90cb8da523a967c613f /ld/.Sanitize
parentd4e5e3c330d5b2e7b6b972e03b1997a88270f703 (diff)
downloadgdb-c361ce46c5c99957614bcb39184c98c139d7c66a.zip
gdb-c361ce46c5c99957614bcb39184c98c139d7c66a.tar.gz
gdb-c361ce46c5c99957614bcb39184c98c139d7c66a.tar.bz2
* configure.in (powerpc-*-elf*): New target; use ppc-elf32.
* config/ppc-elf32.mt: New file. * emulparams/elf32ppc.sh: New file. * emultempl/ppc.em: New file. * Makefile.in (ALL_EMULATIONS): Added em_elf32ppc.o. (em_elf32ppc.c): New target; uses elf32ppc.sh, ppc.em and elf.sc. (EMULATION_OFILES): Added dependencies on ldexp.h and ldlang.h.
Diffstat (limited to 'ld/.Sanitize')
-rw-r--r--ld/.Sanitize22
1 files changed, 22 insertions, 0 deletions
diff --git a/ld/.Sanitize b/ld/.Sanitize
index 7014772..f797560 100644
--- a/ld/.Sanitize
+++ b/ld/.Sanitize
@@ -144,4 +144,26 @@ else
done
fi
+echo Looking for PowerPC NetWare...
+ppcfiles="configure.in"
+if ( echo $* | grep keep\-powerpc\-netware > /dev/null ) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping PowerPC NetWare stuff in $ppcfiles.
+ fi
+else
+ if [ -n "${verbose}" ]; then
+ echo -n Removing PowerPC NetWare in `pwd`:
+ fi
+ for f in $ppcfiles ; do
+ if [ -n "${verbose}" ] ; then
+ echo -n " " $f
+ fi
+ sed '/start\-sanitize\-powerpc\-netware/,/end\-sanitize\-powerpc\-netware/d' < $f > new
+ if [ -n "${safe}" ] ; then
+ mv $f .Recover
+ fi
+ mv new $f
+ done
+fi
+
# End of file.