mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 22:07:58 +08:00
delete old host-specific files
This commit is contained in:
@ -1,29 +0,0 @@
|
|||||||
/* ho-ansi.h Host-specific header file for generic ansi environments.
|
|
||||||
Copyright (C) 1987, 1991, 1992 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. */
|
|
||||||
|
|
||||||
#define M_ANSI 1
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <memory.h>
|
|
||||||
|
|
||||||
#define sys_nerr _sys_nerr
|
|
||||||
#define sys_errlist _sys_errlist
|
|
||||||
|
|
||||||
/* end of ho-ansi.h */
|
|
@ -1,29 +0,0 @@
|
|||||||
/* ho-pmax.h Host-specific header file for decstation 3100.
|
|
||||||
Copyright (C) 1987, 1990, 1991, 1992 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. */
|
|
||||||
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
extern char *malloc ();
|
|
||||||
extern int free ();
|
|
||||||
|
|
||||||
#if !defined(__GNUC__)
|
|
||||||
#define BROKEN_ASSERT
|
|
||||||
#endif /* not gcc */
|
|
||||||
|
|
||||||
/* end of ho-decstation.h */
|
|
@ -1,38 +0,0 @@
|
|||||||
/* ho-generic.h Generic host-specific header file.
|
|
||||||
Copyright 1987, 1991, 1992 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. */
|
|
||||||
|
|
||||||
/* It is my intent that this become a file capable of config'ing and
|
|
||||||
compiling for nearly any host as aid for testing and porting.
|
|
||||||
xoxorich. */
|
|
||||||
|
|
||||||
#define M_GENERIC 1
|
|
||||||
|
|
||||||
#define HAVE_STRERROR
|
|
||||||
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
#ifdef __STDC__
|
|
||||||
extern void *malloc (), *realloc ();
|
|
||||||
extern void free ();
|
|
||||||
#else
|
|
||||||
extern char *malloc (), *realloc ();
|
|
||||||
extern int free ();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* end of ho-generic.h */
|
|
@ -1,32 +0,0 @@
|
|||||||
/* ho-go32.h i386 specific header file.
|
|
||||||
Copyright (C) 1994 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. */
|
|
||||||
|
|
||||||
#define HO_GO32 1
|
|
||||||
|
|
||||||
#include "fopen-bin.h"
|
|
||||||
|
|
||||||
extern void free ();
|
|
||||||
extern void *malloc ();
|
|
||||||
|
|
||||||
/* end of ho-go32.h */
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,42 +0,0 @@
|
|||||||
/* ho-hppabsd.h BSD host-specific header file.
|
|
||||||
Copyright 1987, 1991, 1992 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. */
|
|
||||||
|
|
||||||
/* HP PA-RISC and BSD support was contributed by the Center for
|
|
||||||
Software Science at the University of Utah. */
|
|
||||||
|
|
||||||
#define M_HPPABSD 1
|
|
||||||
|
|
||||||
#if __STDC__ != 1
|
|
||||||
#define NO_STDARG
|
|
||||||
#endif /* not ansi */
|
|
||||||
|
|
||||||
#define HAVE_STRERROR
|
|
||||||
extern int errno;
|
|
||||||
|
|
||||||
#include <ctype.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
|
|
||||||
/* SKV 12/08/92. Include correctly configured declaration of alloca. */
|
|
||||||
|
|
||||||
#include "../libiberty/alloca-conf.h"
|
|
||||||
|
|
||||||
/* end of ho-hppabsd.h */
|
|
@ -1,38 +0,0 @@
|
|||||||
/* ho-hppaosf.h OSF/1 host-specific header file.
|
|
||||||
Copyright 1987, 1991, 1992 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. */
|
|
||||||
|
|
||||||
/* HP PA-RISC and OSF/1 support was contributed by the Center for
|
|
||||||
Software Science at the University of Utah. */
|
|
||||||
|
|
||||||
#define M_HPPAOSF 1
|
|
||||||
|
|
||||||
#if __STDC__ != 1
|
|
||||||
#define NO_STDARG
|
|
||||||
#endif /* not ansi */
|
|
||||||
|
|
||||||
#define HAVE_STRERROR
|
|
||||||
extern int errno;
|
|
||||||
|
|
||||||
#include <ctype.h>
|
|
||||||
|
|
||||||
/* SKV 12/08/92. Include correctly configured declaration of alloca. */
|
|
||||||
|
|
||||||
#include "../libiberty/alloca-conf.h"
|
|
||||||
|
|
||||||
/* end of ho-hppaosf.h */
|
|
@ -1,47 +0,0 @@
|
|||||||
/* ho-hpux.h -- Header to compile the assembler under HP-UX
|
|
||||||
Copyright (C) 1988, 1991, 1992 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. */
|
|
||||||
|
|
||||||
/* This header file contains the #defines specific
|
|
||||||
to HPUX changes sent me by cph@zurich.ai.mit.edu */
|
|
||||||
#ifndef hpux
|
|
||||||
#define hpux
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef setbuffer
|
|
||||||
#undef setbuffer
|
|
||||||
#endif /* setbuffer */
|
|
||||||
|
|
||||||
/* When using cc on HP/UX 8.07, an assert condition can not contain a
|
|
||||||
string literal. */
|
|
||||||
#ifndef __GNUC__
|
|
||||||
#define BROKEN_ASSERT
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define setbuffer(stream, buf, size)
|
|
||||||
|
|
||||||
/* Some basic include files. Avoid including ho-sysv.h as it defines
|
|
||||||
malloc and free and the declarations do not match what HPUX puts
|
|
||||||
in its include files! Declaring such system functions is not all
|
|
||||||
that good of an idea. */
|
|
||||||
#include <ctype.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
/* end of ho-hpux.h */
|
|
@ -1,26 +0,0 @@
|
|||||||
/* ho-i386.h i386 specific header file.
|
|
||||||
Copyright (C) 1987, 1991, 1992 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. */
|
|
||||||
|
|
||||||
#define HO_I386 1
|
|
||||||
|
|
||||||
#define NO_STDARG
|
|
||||||
|
|
||||||
#include "ho-sysv.h"
|
|
||||||
|
|
||||||
/* end of ho-i386.h */
|
|
@ -1,25 +0,0 @@
|
|||||||
/* ho-386aix.h AIX PS/2 i386 specific header file.
|
|
||||||
Copyright (C) 1987, 1991, 1992 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. */
|
|
||||||
|
|
||||||
#define HO_I386 1
|
|
||||||
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
/* end of ho-i386aix.h */
|
|
@ -1,27 +0,0 @@
|
|||||||
/* 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. */
|
|
||||||
|
|
||||||
#include "ho-generic.h"
|
|
||||||
|
|
||||||
/* The assert.h macros don't work if the argument contains a newline. */
|
|
||||||
#ifndef __GNUC__
|
|
||||||
#define BROKEN_ASSERT
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* end of ho-irix.h */
|
|
@ -1,34 +0,0 @@
|
|||||||
/* ho-mach3.h Mach 3 host-specific header file.
|
|
||||||
Copyright 1987, 1991, 1992 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. */
|
|
||||||
|
|
||||||
#define HAVE_STRERROR
|
|
||||||
|
|
||||||
#include <string.h>
|
|
||||||
#include <ctype.h>
|
|
||||||
extern int errno;
|
|
||||||
|
|
||||||
#ifdef __STDC__
|
|
||||||
extern void *malloc (), *realloc ();
|
|
||||||
extern void free ();
|
|
||||||
#else
|
|
||||||
extern char *malloc (), *realloc ();
|
|
||||||
extern int free ();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* end of ho-mach3.h */
|
|
@ -1,24 +0,0 @@
|
|||||||
/* ho-mipsbsd.h Host-specific header file for DECstation running BSD.
|
|
||||||
Copyright (C) 1987, 1990, 1991, 1992 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. */
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <ctype.h>
|
|
||||||
|
|
||||||
/* end of ho-mipsbsd.h */
|
|
@ -1,81 +0,0 @@
|
|||||||
/* ho-mpw.h Host-specific header file for MPW.
|
|
||||||
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. */
|
|
||||||
|
|
||||||
#ifndef MPW
|
|
||||||
#define MPW
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define bzero(a,b) memset(a,0,b)
|
|
||||||
#define bcopy(a,b,c) memcpy(b,a,c)
|
|
||||||
#define bcmp(a,b,c) memcmp(a,b,c)
|
|
||||||
|
|
||||||
#if 0 /* this doesn't work, sigh */
|
|
||||||
#ifndef __STDC__
|
|
||||||
#define __STDC__
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define M_ANSI 1
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <memory.h>
|
|
||||||
|
|
||||||
char *strdup();
|
|
||||||
|
|
||||||
#ifdef MPW_C
|
|
||||||
|
|
||||||
#undef __PTR_TO_INT
|
|
||||||
#define __PTR_TO_INT(P) ((int)(P))
|
|
||||||
#undef __INT_TO_PTR
|
|
||||||
#define __INT_TO_PTR(P) ((char *)(P))
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define sys_nerr _sys_nerr
|
|
||||||
#define sys_errlist _sys_errlist
|
|
||||||
|
|
||||||
#ifdef __STDIO__
|
|
||||||
FILE *mpw_fopen();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define fopen mpw_fopen
|
|
||||||
#define fseek mpw_fseek
|
|
||||||
#define abort mpw_abort
|
|
||||||
|
|
||||||
#define TRUE_FALSE_ALREADY_DEFINED
|
|
||||||
|
|
||||||
/* <cr> is an end-of-line marker. */
|
|
||||||
|
|
||||||
#define CR_EOL
|
|
||||||
|
|
||||||
#define ABORT_ON_ERROR
|
|
||||||
|
|
||||||
#define LOSING_COMPILER
|
|
||||||
|
|
||||||
/* Arrange for the debugger hook to be checked right when the assembler
|
|
||||||
starts up. */
|
|
||||||
|
|
||||||
#define HOST_SPECIAL_INIT(argc,argv) mpw_special_init ((argv)[0]);
|
|
||||||
|
|
||||||
#define WANT_FOPEN_BIN
|
|
||||||
|
|
||||||
#define HAVE_ERRNO_H
|
|
||||||
|
|
||||||
/* end of ho-mpw.h */
|
|
@ -1,39 +0,0 @@
|
|||||||
/* ho-rs6000.h Rs6000 host-specific header file.
|
|
||||||
Copyright (C) 1987, 1991, 1992 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. */
|
|
||||||
|
|
||||||
/* M_RS6000 is used in aout_gnu.h as an enumerator.
|
|
||||||
Nothing tests for the macro being defined, so don't bother defining it. */
|
|
||||||
/* #define M_RS6000 1 */
|
|
||||||
|
|
||||||
/* The assert.h macros assume that cpp DTRT when substituting for
|
|
||||||
a macro argument inside a string, including requoting. The non-STDC
|
|
||||||
cpp on the rs6k botches the requoting. (Many non-STDC cpps do, but
|
|
||||||
the assert.h here relies on it working.) */
|
|
||||||
#ifndef __STDC__
|
|
||||||
#define BROKEN_ASSERT
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* The RS/6000 native compiler miscompiles an expression in tc-m68k.c. */
|
|
||||||
#ifndef __STDC__
|
|
||||||
#define IBM_COMPILER_SUX
|
|
||||||
#endif
|
|
||||||
|
|
||||||
extern void free ();
|
|
||||||
|
|
||||||
/* end of ho-rs6000.h */
|
|
@ -1,3 +0,0 @@
|
|||||||
#include <ho-sunos.h>
|
|
||||||
|
|
||||||
/* end of ho-sun3.h */
|
|
@ -1,5 +0,0 @@
|
|||||||
#include <ho-sunos.h>
|
|
||||||
|
|
||||||
extern int sprintf ();
|
|
||||||
|
|
||||||
/* end of ho-sun386.h */
|
|
@ -1,3 +0,0 @@
|
|||||||
#include <ho-sunos.h>
|
|
||||||
|
|
||||||
/* end of ho-sun4.h */
|
|
@ -1,72 +0,0 @@
|
|||||||
/* This file is ho-sunos.h
|
|
||||||
Copyright (C) 1987-1992 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. */
|
|
||||||
|
|
||||||
#if __STDC__ != 1
|
|
||||||
#define NO_STDARG
|
|
||||||
#endif /* not __STDC__ */
|
|
||||||
|
|
||||||
#if !defined(__GNUC__) && (__STDC__ != 1)
|
|
||||||
#include <memory.h>
|
|
||||||
#else
|
|
||||||
extern char* memset ();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* #include <sys/stdtypes.h> before <stddef.h> when compiling by GCC. */
|
|
||||||
/* #include <sys/stdtypes.h> */
|
|
||||||
#include <stddef.h>
|
|
||||||
#include <ctype.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
/* externs for system libraries. */
|
|
||||||
|
|
||||||
extern char *strchr ();
|
|
||||||
extern char *strrchr ();
|
|
||||||
extern int _filbuf ();
|
|
||||||
extern int _flsbuf ();
|
|
||||||
extern int fclose ();
|
|
||||||
extern int fgetc ();
|
|
||||||
extern int fprintf ();
|
|
||||||
extern int printf ();
|
|
||||||
extern int setvbuf ();
|
|
||||||
extern int sscanf ();
|
|
||||||
extern int strcmp ();
|
|
||||||
extern int strlen ();
|
|
||||||
extern int strncmp ();
|
|
||||||
extern int ungetc ();
|
|
||||||
extern int vfprintf ();
|
|
||||||
extern int vprintf ();
|
|
||||||
extern int vsprintf ();
|
|
||||||
|
|
||||||
#ifndef tolower
|
|
||||||
extern int tolower ();
|
|
||||||
#endif /* tolower */
|
|
||||||
|
|
||||||
#ifndef toupper
|
|
||||||
extern int toupper ();
|
|
||||||
#endif /* toupper */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Local Variables:
|
|
||||||
* fill-column: 80
|
|
||||||
* comment-column: 0
|
|
||||||
* End:
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* end of ho-sunos.h */
|
|
@ -1,24 +0,0 @@
|
|||||||
/* ho-sysv.h System V specific header file.
|
|
||||||
Copyright (C) 1987, 1991, 1992 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. */
|
|
||||||
|
|
||||||
#include <string.h>
|
|
||||||
extern int free ();
|
|
||||||
extern char *malloc (), *realloc ();
|
|
||||||
|
|
||||||
/* end of ho-sysv.h */
|
|
@ -1,28 +0,0 @@
|
|||||||
/* ho-vax.h Intended for vax ultrix
|
|
||||||
Copyright (C) 1987, 1991, 1992 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. */
|
|
||||||
|
|
||||||
#if __STDC__ != 1
|
|
||||||
#define NO_STDARG
|
|
||||||
#endif /* not ansi */
|
|
||||||
|
|
||||||
extern char *malloc ();
|
|
||||||
extern char *realloc ();
|
|
||||||
extern int free ();
|
|
||||||
|
|
||||||
/* end of ho-vax.h */
|
|
@ -1,40 +0,0 @@
|
|||||||
/* ho-vax.h Intended for vax vms
|
|
||||||
Copyright (C) 1987, 1991, 1992 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. */
|
|
||||||
|
|
||||||
#define HO_VMS 1
|
|
||||||
|
|
||||||
#include "ho-vax.h"
|
|
||||||
|
|
||||||
/* We get better performance if we use the macros rather than the functions.*/
|
|
||||||
#include <ctype.h>
|
|
||||||
|
|
||||||
/* We need this to make sure that sys_nerr has the right Psect hack. */
|
|
||||||
#include <perror.h>
|
|
||||||
|
|
||||||
#ifndef EXIT_SUCCESS
|
|
||||||
#define EXIT_SUCCESS 1 /* SS$_NORMAL, STS$K_SUCCESS */
|
|
||||||
#define EXIT_FAILURE 0x10000002 /* (STS$K_ERROR | STS$M_INHIB_MSG) */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define unlink delete
|
|
||||||
|
|
||||||
extern char *strchr ();
|
|
||||||
extern char *strdup ();
|
|
||||||
|
|
||||||
/* end of ho-vms.h */
|
|
@ -1,27 +0,0 @@
|
|||||||
/* ho-i386.h i386 specific header file.
|
|
||||||
Copyright (C) 1987, 1991 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. */
|
|
||||||
|
|
||||||
#define HO_I386 1
|
|
||||||
|
|
||||||
#include "fopen-bin.h"
|
|
||||||
|
|
||||||
extern void free ();
|
|
||||||
extern void *malloc ();
|
|
||||||
|
|
||||||
/* end of ho-go32.h */
|
|
Reference in New Issue
Block a user