From 51bc513e4ef53ebf2580eafcac5757950d3b23ff Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Tue, 14 Nov 1995 04:45:54 +0000 Subject: [PATCH] * configure.in (ppc-*-macos*, ppc-*-mpw*): New configurations. * configure: Update. * mpw-make.sed: Reorder commands to make sed happier. * config/te-macos.h: New file. * config/tc-ppc.h (TARGET_FORMAT): Set correctly for PowerMac. --- gas/ChangeLog | 8 ++++++++ gas/config/te-macos.h | 11 +++++++++++ gas/mpw-make.sed | 10 ++++++---- 3 files changed, 25 insertions(+), 4 deletions(-) create mode 100644 gas/config/te-macos.h diff --git a/gas/ChangeLog b/gas/ChangeLog index 19338fb5156..604b0411311 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,11 @@ +Mon Nov 13 20:39:06 1995 Stan Shebs + + * configure.in (ppc-*-macos*, ppc-*-mpw*): New configurations. + * configure: Update. + * mpw-make.sed: Reorder commands to make sed happier. + * config/te-macos.h: New file. + * config/tc-ppc.h (TARGET_FORMAT): Set correctly for PowerMac. + Sun Nov 12 21:14:56 1995 Jeffrey A Law (law@cygnus.com) * config/tc-hppa.c (pa_ip): Fix off-by-2 bug in length check for diff --git a/gas/config/te-macos.h b/gas/config/te-macos.h new file mode 100644 index 00000000000..5f48dc4478c --- /dev/null +++ b/gas/config/te-macos.h @@ -0,0 +1,11 @@ +/* This file is te-macos.h. */ + +#define TE_POWERMAC 1 + +/* Added these, because if we don't know what we're targetting we may + need an assembler version of libgcc, and that will use local + labels. */ +#define LOCAL_LABELS_DOLLAR 1 +#define LOCAL_LABELS_FB 1 + +#include "obj-format.h" diff --git a/gas/mpw-make.sed b/gas/mpw-make.sed index a5f407002d5..4f2d5530045 100644 --- a/gas/mpw-make.sed +++ b/gas/mpw-make.sed @@ -64,16 +64,18 @@ LOCAL_LOADLIBES = \ # Whack out recursive makes, they won't work. /^[ ][ ]*srcroot=/,/^[ ][ ]*(cd /d +# Work around quoting problems by using multiple echo commands. /'#define GAS_VERSION "{VERSION}"'/c\ Echo -n '#define GAS_VERSION "' >> "{o}"config.new\ Echo -n "{VERSION}" >> "{o}"config.new\ Echo -n '"' >> "{o}"config.new +# Add a "stamps" target. +$a\ +stamps \\Option-f config-stamp\ + # Whack out config-rebuilding targets, they won't work. +/^Makefile \\Option-f/,/^$/d /^config.status \\Option-f/,/^$/d /^"{o}"config.h \\Option-f/s/^/#/ - -# Add a "stamps" target. -$a\ -stamps \\Option-f config-stamp\ -- 2.30.2