* ChangeLog: Follow spelling conventions.
[official-gcc.git] / gcc / config / pa / pa-pro-end.h
blobf9093909828292b1506728e987368e267128a7ec
1 /* Definitions of target machine for GNU compiler, for PRO.
2 Copyright (C) 1996, 1997 Free Software Foundation, Inc.
4 This file is part of GNU CC.
6 GNU CC 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.
11 GNU CC 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.
16 You should have received a copy of the GNU General Public License
17 along with GNU CC; see the file COPYING. If not, write to
18 the Free Software Foundation, 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
21 /* Make GCC agree with types.h. */
22 #undef SIZE_TYPE
23 #undef PTRDIFF_TYPE
25 #define SIZE_TYPE "unsigned int"
26 #define PTRDIFF_TYPE "int"
28 /* Like the default, except no -lg. */
29 #undef LIB_SPEC
30 #define LIB_SPEC "%{!p:%{!pg:-lc}}%{p: -L/lib/libp/ -lc}%{pg: -L/lib/libp/ -lc}"
32 #undef CPP_PREDEFINES
33 #define CPP_PREDEFINES "-Dhppa -DPWB -Acpu=hppa -D__pro__ -Amachine=hppa"
35 /* hpux8 and later have C++ compatible include files, so do not
36 pretend they are `extern "C"'. */
37 #define NO_IMPLICIT_EXTERN_C
39 /* We don't want a crt0.o to get linked in automatically, we want the
40 linker script to pull it in. */
41 #undef STARTFILE_SPEC
42 #define STARTFILE_SPEC ""
44 /* The following two macros are identical to the ones in pa.h. We need
45 to override the macros in elfos.h on the rtems and pro ports. */
47 /* This says how to output an assembler line to define a global common symbol
48 with size SIZE (in bytes) and alignment ALIGN (in bits). */
50 #undef ASM_OUTPUT_ALIGNED_COMMON
51 #define ASM_OUTPUT_ALIGNED_COMMON(FILE, NAME, SIZE, ALIGNED) \
52 { bss_section (); \
53 assemble_name ((FILE), (NAME)); \
54 fputs ("\t.comm ", (FILE)); \
55 fprintf ((FILE), "%d\n", MAX ((SIZE), ((ALIGNED) / BITS_PER_UNIT)));}
57 /* This says how to output an assembler line to define a local common symbol
58 with size SIZE (in bytes) and alignment ALIGN (in bits). */
60 #undef ASM_OUTPUT_ALIGNED_LOCAL
61 #define ASM_OUTPUT_ALIGNED_LOCAL(FILE, NAME, SIZE, ALIGNED) \
62 { bss_section (); \
63 fprintf ((FILE), "\t.align %d\n", ((ALIGNED) / BITS_PER_UNIT)); \
64 assemble_name ((FILE), (NAME)); \
65 fprintf ((FILE), "\n\t.block %d\n", (SIZE));}