Deleted Added
full compact
hpux.h (90075) hpux.h (96263)
1/* Definitions of target machine GNU compiler. IA-64 version.
2 Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
3 Contributed by Steve Ellcey <sje@cup.hp.com> and
4 Reva Cuthbertson <reva@cup.hp.com>
5
6This file is part of GNU CC.
7
8GNU CC is free software; you can redistribute it and/or modify

--- 13 unchanged lines hidden (view full) ---

22
23/* This macro is a C statement to print on `stderr' a string describing the
24 particular machine description choice. */
25
26#define TARGET_VERSION fprintf (stderr, " (IA-64) HP-UX");
27
28#undef CPP_PREDEFINES
29#define CPP_PREDEFINES "\
1/* Definitions of target machine GNU compiler. IA-64 version.
2 Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
3 Contributed by Steve Ellcey <sje@cup.hp.com> and
4 Reva Cuthbertson <reva@cup.hp.com>
5
6This file is part of GNU CC.
7
8GNU CC is free software; you can redistribute it and/or modify

--- 13 unchanged lines hidden (view full) ---

22
23/* This macro is a C statement to print on `stderr' a string describing the
24 particular machine description choice. */
25
26#define TARGET_VERSION fprintf (stderr, " (IA-64) HP-UX");
27
28#undef CPP_PREDEFINES
29#define CPP_PREDEFINES "\
30 -D__IA64__ -D__ia64 -D__ia64__ -D__hpux -D__hpux__ -Dhpux -Dunix \
31 -D__BIG_ENDIAN__ -D_LONGLONG -D__ELF__ \
32 -Asystem=hpux -Asystem=posix -Asystem=unix -Acpu=ia64 -Amachine=ia64 \
30 -D__IA64__ -D__hpux -D__hpux__ -Dhpux -Dunix \
31 -D__BIG_ENDIAN__ -D_LONGLONG \
32 -Asystem=hpux -Asystem=posix -Asystem=unix \
33 -D_UINT128_T"
34
35/* -D__fpreg=long double is needed to compensate for the lack of __fpreg
36 which is a primitive type in HP C but does not exist in GNU C. Same
37 for __float80 and __float128. These types appear in HP-UX header
38 files and so must have some definition. */
39
40#undef CPP_SPEC
41#define CPP_SPEC "\
42 %{mcpu=itanium:-D__itanium__} \
33 -D_UINT128_T"
34
35/* -D__fpreg=long double is needed to compensate for the lack of __fpreg
36 which is a primitive type in HP C but does not exist in GNU C. Same
37 for __float80 and __float128. These types appear in HP-UX header
38 files and so must have some definition. */
39
40#undef CPP_SPEC
41#define CPP_SPEC "\
42 %{mcpu=itanium:-D__itanium__} \
43 %{mlp64:-D__LP64__ -D__LONG_MAX__=9223372036854775807L} \
43 %{mlp64:-D__LP64__ -D_LP64 -D__LONG_MAX__=9223372036854775807L} \
44 %{!ansi:%{!std=c*:%{!std=i*: -D_HPUX_SOURCE -D__STDC_EXT__}}} \
45 -D__fpreg=long\\ double \
46 -D__float80=long\\ double \
47 -D__float128=long\\ double"
48
44 %{!ansi:%{!std=c*:%{!std=i*: -D_HPUX_SOURCE -D__STDC_EXT__}}} \
45 -D__fpreg=long\\ double \
46 -D__float80=long\\ double \
47 -D__float128=long\\ double"
48
49#undef ASM_SPEC
50#define ASM_SPEC "-x %{mconstant-gp} %{mauto-pic} \
51 %{milp32:-milp32} %{mlp64:-mlp64}"
49#undef ASM_EXTRA_SPEC
50#define ASM_EXTRA_SPEC "%{milp32:-milp32} %{mlp64:-mlp64}"
52
53#undef ENDFILE_SPEC
54
55#undef STARTFILE_SPEC
56#ifdef CROSS_COMPILE
57#define STARTFILE_SPEC "%{!shared:crt0%O%s}"
58#else
59#define STARTFILE_SPEC "/usr/ccs/lib/hpux64/crt0%O"

--- 19 unchanged lines hidden (view full) ---

79
80/* A C expression whose value is zero if pointers that need to be extended
81 from being `POINTER_SIZE' bits wide to `Pmode' are sign-extended and
82 greater then zero if they are zero-extended and less then zero if the
83 ptr_extend instruction should be used. */
84
85#define POINTERS_EXTEND_UNSIGNED -1
86
51
52#undef ENDFILE_SPEC
53
54#undef STARTFILE_SPEC
55#ifdef CROSS_COMPILE
56#define STARTFILE_SPEC "%{!shared:crt0%O%s}"
57#else
58#define STARTFILE_SPEC "/usr/ccs/lib/hpux64/crt0%O"

--- 19 unchanged lines hidden (view full) ---

78
79/* A C expression whose value is zero if pointers that need to be extended
80 from being `POINTER_SIZE' bits wide to `Pmode' are sign-extended and
81 greater then zero if they are zero-extended and less then zero if the
82 ptr_extend instruction should be used. */
83
84#define POINTERS_EXTEND_UNSIGNED -1
85
87#define DONT_USE_BUILTIN_SETJMP
88#define JMP_BUF_SIZE (8 * 76)
89
90#undef CONST_SECTION_ASM_OP
91#define CONST_SECTION_ASM_OP "\t.section\t.rodata,\t\"a\",\t\"progbits\""
92
93#undef BITS_BIG_ENDIAN
94#define BITS_BIG_ENDIAN 1
95

--- 29 unchanged lines hidden ---
86#define JMP_BUF_SIZE (8 * 76)
87
88#undef CONST_SECTION_ASM_OP
89#define CONST_SECTION_ASM_OP "\t.section\t.rodata,\t\"a\",\t\"progbits\""
90
91#undef BITS_BIG_ENDIAN
92#define BITS_BIG_ENDIAN 1
93

--- 29 unchanged lines hidden ---