(tc_gen_reloc): Use bfd_get_reloc_code_name in error message.
[binutils-gdb.git] / gas / config / ho-hpux.h
1 /* ho-hpux.h -- Header to compile the assembler under HP-UX
2 Copyright (C) 1988, 1991, 1992 Free Software Foundation, Inc.
3
4 This file is part of GAS, the GNU Assembler.
5
6 GAS is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
10
11 GAS is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with GAS; see the file COPYING. If not, write to
18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
19
20 /* This header file contains the #defines specific
21 to HPUX changes sent me by cph@zurich.ai.mit.edu */
22 #ifndef hpux
23 #define hpux
24 #endif
25
26 #ifdef setbuffer
27 #undef setbuffer
28 #endif /* setbuffer */
29
30 /* When using cc on HP/UX 8.07, an assert condition can not contain a
31 string literal. */
32 #ifndef __GNUC__
33 #define BROKEN_ASSERT
34 #endif
35
36 #define setbuffer(stream, buf, size)
37
38 /* Some basic include files. Avoid including ho-sysv.h as it defines
39 malloc and free and the declarations do not match what HPUX puts
40 in its include files! Declaring such system functions is not all
41 that good of an idea. */
42 #include <ctype.h>
43 #include <stdlib.h>
44 #include <unistd.h>
45 #include <string.h>
46
47 /* end of ho-hpux.h */