+Fri Apr 2 08:54:57 1993 Ian Lance Taylor (ian@cygnus.com)
+
+ * config/ho-irix.h: New file; if not gcc, define BROKEN_ASSERT.
+ * configure.in (mips-sgi-irix*): Set gas_host to irix.
+
Wed Mar 31 17:53:54 1993 Ian Lance Taylor (ian@cygnus.com)
* subsegs.c (subseg_new): Set output_section of new section.
--- /dev/null
+/* ho-irix.h Irix host-specific header file.
+ Copyright (C) 1993 Free Software Foundation, Inc.
+
+ This file is part of GAS, the GNU Assembler.
+
+ GAS is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+
+ GAS is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GAS; see the file COPYING. If not, write to
+ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+/* The assert.h macros don't work if the argument contains a newline. */
+#ifndef __GNUC__
+#define BROKEN_ASSERT
+#endif
+
+/* end of ho-irix.h */
mips-*-bsd*)
gas_host=mipsbsd
;;
+ mips-sgi-irix*)
+ gas_host=irix
+ ;;
i[34]86-ibm-aix*)
gas_host=i386aix
;;
case ${bfd_gas} in
yes)
- echo BFDDEF=-DBFD_ASSEMBLER >> Makefile
+ rm -f Makefile.tem
+ mv Makefile Makefile.tem
+ echo BFDDEF=-DBFD_ASSEMBLER > Makefile
+ cat Makefile.tem >> Makefile
+ rm -f Makefile.tem
need_bfd=yes
;;
*)
case ${need_bfd} in
yes)
- echo BFDLIB=../bfd/libbfd.a >> Makefile
+ rm -f Makefile.tem
+ mv Makefile Makefile.tem
+ echo BFDLIB=../bfd/libbfd.a > Makefile
+ cat Makefile.tem >> Makefile
+ rm -f Makefile.tem
;;
*)
;;