diff options
Diffstat (limited to 'gcc/config/ia64/hpux.h')
-rw-r--r-- | gcc/config/ia64/hpux.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/ia64/hpux.h b/gcc/config/ia64/hpux.h index 382751a7c37..1bd02c35d73 100644 --- a/gcc/config/ia64/hpux.h +++ b/gcc/config/ia64/hpux.h @@ -45,6 +45,8 @@ do { \ builtin_define("_HPUX_SOURCE"); \ builtin_define("__STDC_EXT__"); \ } \ + if (TARGET_ILP32) \ + builtin_define("_ILP32"); \ } while (0) #undef CPP_SPEC @@ -188,6 +190,10 @@ do { \ #undef TARGET_SECTION_TYPE_FLAGS #define TARGET_SECTION_TYPE_FLAGS ia64_rwreloc_section_type_flags +/* HP-UX does not support thread-local storage. */ +#undef TARGET_HAVE_TLS +#define TARGET_HAVE_TLS false + /* ia64 HPUX has the float and long double forms of math functions. */ #undef TARGET_C99_FUNCTIONS #define TARGET_C99_FUNCTIONS 1 |