* config/ho-irix.h: New file; if not gcc, define BROKEN_ASSERT.

* configure.in (mips-sgi-irix*): Set gas_host to irix.
This commit is contained in:
Ian Lance Taylor 1993-04-02 16:57:17 +00:00
parent e9aff87e19
commit ed364bb694
4 changed files with 44 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -44,6 +44,7 @@ ho-go32.h
ho-hpux.h
ho-i386.h
ho-i386aix.h
ho-irix.h
ho-mipsbsd.h
ho-rs6000.h
ho-sun3.h

25
gas/config/ho-irix.h Normal file
View File

@ -0,0 +1,25 @@
/* 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 */

View File

@ -50,6 +50,9 @@ case "${host}" in
mips-*-bsd*)
gas_host=mipsbsd
;;
mips-sgi-irix*)
gas_host=irix
;;
i[34]86-ibm-aix*)
gas_host=i386aix
;;
@ -258,7 +261,11 @@ links="host.h targ-cpu.c targ-cpu.h targ-env.h obj-format.h obj-format.c atof-ta
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
;;
*)
@ -267,7 +274,11 @@ esac
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
;;
*)
;;