* nlmconv.c: Include libiberty.h.
authorIan Lance Taylor <ian@airs.com>
Mon, 21 Feb 1994 02:57:01 +0000 (02:57 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 21 Feb 1994 02:57:01 +0000 (02:57 +0000)
start-sanitize-powerpc-netware
Support for PowerPC NetWare.
* nlmconv.c (main): For PowerPC NetWare, automatically define the
special symbols __toc_start.
(select_output_format): Handle bfd_arch_powerpc.
(mangle_relocs): Likewise.
(powerpc_mangle_relocs): New function.
end-sanitize-powerpc-netware

binutils/.Sanitize

index cc24532e31892ea8e083c0c8be0b5c4179c8afc2..eac2b1e24ca0fab5f86a634df14945d4d5e8d0ec 100644 (file)
@@ -80,3 +80,24 @@ version.c
 Things-to-lose:
 
 Do-last:
+
+ppcfiles="ChangeLog nlmconv.c"
+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