From: Stan Shebs Date: Tue, 30 Mar 2004 19:20:58 +0000 (+0000) Subject: * mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=92e25cf8fd94dadd6bdab7b51069dd4f01626fe5;p=binutils-gdb.git * mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW support files, no longer used. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 94d368c37bb..d8f1fcf3c56 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2004-03-30 Stan Shebs + + * mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW + support files, no longer used. + 2004-03-23 Paul Brook * readelf.c (decode_ARM_machine_flags): Add EABI v3. diff --git a/binutils/mac-binutils.r b/binutils/mac-binutils.r deleted file mode 100644 index 7b1a3035e28..00000000000 --- a/binutils/mac-binutils.r +++ /dev/null @@ -1,42 +0,0 @@ -/* Resources for GNU binutils. */ - -#include "SysTypes.r" - -/* Version resources. */ - -resource 'vers' (1) { - 0, - 0, - 0, - 0, - verUs, - VERSION_STRING, - VERSION_STRING " (C) 1986-95 FSF, Inc." -}; - -resource 'vers' (2, purgeable) { - 0, - 0, - 0, - 0, - verUs, - VERSION_STRING, - "binutils " VERSION_STRING " for MPW" -}; - -#ifdef WANT_CFRG - -#include "CodeFragmentTypes.r" - -resource 'cfrg' (0) { - { - kPowerPC, - kFullLib, - kNoVersionNum, kNoVersionNum, - 0,0, - kIsApp, kOnDiskFlat, kZeroOffset, kWholeFork, - PROG_NAME - } -}; - -#endif /* WANT_CFRG */ diff --git a/binutils/mpw-config.in b/binutils/mpw-config.in deleted file mode 100644 index 21a067ddd6b..00000000000 --- a/binutils/mpw-config.in +++ /dev/null @@ -1,27 +0,0 @@ -# Configuration fragment for binutils. - -Set target_arch `echo {target_canonical} | sed -e 's/-.*-.*//'` - -# (should canonicalize arch name) */ - -Set archname ARCH_{target_arch} - -Set underscore 0 - -If "{target_canonical}" =~ /sh-hitachi-hms/ - Set underscore 1 -End If - -Echo '# From mpw-config.in' > "{o}"mk.tmp -Echo "ARCHDEFS = -d" {archname} >> "{o}"mk.tmp -Echo "UNDERSCORE = " {underscore} >> "{o}"mk.tmp -Echo "BUILD_NLMCONV = " >> "{o}"mk.tmp -Echo "BUILD_SRCONV = " >> "{o}"mk.tmp -Echo "SYSINFO_PROG = " >> "{o}"mk.tmp -Echo "BUILD_DLLTOOL = " >> "{o}"mk.tmp -Echo '# End from mpw-config.in' >> "{o}"mk.tmp - -Echo '/* config.h. Generated by mpw-configure. */' > "{o}"config.new -Echo '#include "mpw.h"' >> "{o}"config.new - -MoveIfChange "{o}"config.new "{o}"config.h diff --git a/binutils/mpw-make.sed b/binutils/mpw-make.sed deleted file mode 100644 index 03abffe18f8..00000000000 --- a/binutils/mpw-make.sed +++ /dev/null @@ -1,115 +0,0 @@ -# Sed commands to finish translating the binutils Unix makefile into MPW syntax. - -# Add a rule. -/^#### .*/a\ -\ -"{o}"underscore.c.o \\Option-f "{o}"underscore.c\ - -# Comment out any alias settings. -/^host_alias =/s/^/#/ -/^target_alias =/s/^/#/ - -# Whack out unused host define bits. -/HDEFINES/s/@HDEFINES@// - -# Don't build specialized tools. -/BUILD_NLMCONV/s/@BUILD_NLMCONV@// -/BUILD_SRCONV/s/@BUILD_SRCONV@// -/BUILD_DLLTOOL/s/@BUILD_DLLTOOL@// - -/UNDERSCORE/s/@UNDERSCORE@/{UNDERSCORE}/ - -# Don't need this. -/@HLDFLAGS@/s/@HLDFLAGS@// - -# Point at the libraries directly. -/@BFDLIB@/s/@BFDLIB@/::bfd:libbfd.o/ -/@OPCODES@/s/@OPCODES@/::opcodes:libopcodes.o/ - -# Whack out target makefile fragment. -/target_makefile_fragment/s/target_makefile_fragment@// - -# Fix and add to the include paths. -/^INCLUDES = .*$/s/$/ -i "{INCDIR}":mpw: -i ::extra-include:/ -/BFDDIR/s/-i {BFDDIR} /-i "{BFDDIR}": / -/INCDIR/s/-i {INCDIR} /-i "{INCDIR}": / - -# Use byacc instead of bison (for now anyway). -/BISON/s/^BISON =.*$/BISON = byacc/ -#/BISONFLAGS/s/^BISONFLAGS =.*$/BISONFLAGS = / - -# Embed the version in symbolic doublequotes that will expand to -# the right thing for each compiler. -/VERSION/s/'"{VERSION}"'/{dq}{VERSION}{dq}/ - -# '+' is a special char to MPW, don't use it ever. -/c++filt/s/c++filt/cplusfilt/ - -# All of the binutils use the same Rez file, change names to refer to it. -/^{[A-Z]*_PROG}/s/$/ "{s}"mac-binutils.r/ -/{[A-Z]*_PROG}\.r/s/{[A-Z]*_PROG}\.r/mac-binutils.r/ - -# There are auto-generated references to BFD .h files that are not -# in the objdir (like bfd.h) but are in the source dir. -/::bfd:lib/s/::bfd:lib\([a-z]*\)\.h/{BFDDIR}:lib\1.h/g - -# Fix the locations of generated files. -/config/s/"{s}"config\.h/"{o}"config.h/g -/config/s/^config\.h/"{o}"config\.h/ -/underscore/s/"{s}"underscore\.c/"{o}"underscore.c/g -/underscore/s/^underscore\.c/"{o}"underscore\.c/ - -# Fix paths to generated source files. -/lex.yy.c/s/"{s}"lex\.yy\.c/"{o}"lex.yy.c/g -/lex.yy.c/s/^lex\.yy\.c/"{o}"lex.yy.c/ -/arlex.c/s/"{s}"arlex\.c/"{o}"arlex.c/g -/arlex.c/s/^arlex\.c/"{o}"arlex.c/ -/y.tab.c/s/"{s}"y\.tab\.c/"{o}"y.tab.c/g -/y.tab.c/s/^y\.tab\.c/"{o}"y.tab.c/ -/arparse.c/s/"{s}"arparse\.c/"{o}"arparse.c/g -/arparse.c/s/^arparse\.c/"{o}"arparse.c/ -/y.tab.h/s/"{s}"y\.tab\.h/"{o}"y.tab.h/g -/y.tab.h/s/^y\.tab\.h/"{o}"y.tab.h/ -/arparse.h/s/"{s}"arparse\.h/"{o}"arparse.h/g -/arparse.h/s/^arparse\.h/"{o}"arparse.h/ - -/"{s}"{INCDIR}/s/"{s}"{INCDIR}/"{INCDIR}"/g - -# The generated lexer may include an ifdef for older Mac compilers that -# needs to work with newer compilers also. -/lex.yy.c/s/Rename -y \([^ ]*\) \([^ ]*\)$/sed -e 's,ifdef macintosh,if defined(macintosh) || defined(__MWERKS__),' \1 > \2/ - -# Fix an over-eagerness. -/echo.*WARNING.*This file/s/'.*'/' '/ - -# Add a "stamps" target. -$a\ -stamps \\Option-f stamp-under\ - -/^install \\Option-f /,/^$/c\ -install \\Option-f all install-only\ -\ -install-only \\Option-f\ - NewFolderRecursive "{bindir}"\ - # Need to copy all the tools\ - For prog in {PROGS}\ - Set progname `echo {prog} | sed -e 's/.new//'`\ - Duplicate -y :{prog} "{bindir}"{progname}\ - End For\ - - -/true/s/ ; @true$// - -# dot files are trouble, remove them and their actions. -/^\.dep/,/^$/d - -# Remove un-useful targets. -/^Makefile \\Option-f/,/^$/d -/^"{o}"config.h \\Option-f/,/^$/d -/^config.status \\Option-f/,/^$/d - -# Don't try to make the demangler's man page, it's useless. -/^{DEMANGLER_PROG}\.1 \\Option-f/,/^$/d -# Don't depend on it either. -/{DEMANGLER_PROG}/s/ {DEMANGLER_PROG}\.1// -