diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-02-21 02:57:01 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-02-21 02:57:01 +0000 |
commit | d1a7f14f540bffcc5b997064130aa0b67fe77d98 (patch) | |
tree | 3eab7e0f8879a3853dacb480373481d56ac5d13c /binutils | |
parent | 4d88d6dcb3b1951a35ad9c889b09a30a4cb963e0 (diff) | |
download | gdb-d1a7f14f540bffcc5b997064130aa0b67fe77d98.zip gdb-d1a7f14f540bffcc5b997064130aa0b67fe77d98.tar.gz gdb-d1a7f14f540bffcc5b997064130aa0b67fe77d98.tar.bz2 |
* nlmconv.c: Include libiberty.h.
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
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/.Sanitize | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/binutils/.Sanitize b/binutils/.Sanitize index cc24532..eac2b1e 100644 --- a/binutils/.Sanitize +++ b/binutils/.Sanitize @@ -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 |