diff options
author | sje <sje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-26 18:16:29 +0000 |
---|---|---|
committer | sje <sje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-26 18:16:29 +0000 |
commit | 01cbacb9a1fd6cdd54aa377ef724769dbb02240a (patch) | |
tree | e31aa2900f9a141956c4f7f7b712b7b3d49d627e | |
parent | aa76348cb0868f7c538abc297e5f79107a1e952f (diff) | |
download | ppe42-gcc-01cbacb9a1fd6cdd54aa377ef724769dbb02240a.tar.gz ppe42-gcc-01cbacb9a1fd6cdd54aa377ef724769dbb02240a.zip |
PR other/30182
* config/pa/pa.h (TARGET_HPUX_11): New.
* config/pa/pa-hpux11.h (TARGET_HPUX_11): New.
* config/pa/pa.c (pa_init_builtins): Use TARGET_HPUX_11.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121211 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/pa/pa-hpux11.h | 3 | ||||
-rw-r--r-- | gcc/config/pa/pa.c | 2 | ||||
-rw-r--r-- | gcc/config/pa/pa.h | 5 |
4 files changed, 16 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 18a38ed9167..9248b0c508a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2007-01-26 Steve Ellcey <sje@cup.hp.com> + + PR other/30182 + * config/pa/pa.h (TARGET_HPUX_11): New. + * config/pa/pa-hpux11.h (TARGET_HPUX_11): New. + * config/pa/pa.c (pa_init_builtins): Use TARGET_HPUX_11. + 2007-01-26 Daniel Berlin <dberlin@dberlin.org> Richard Guenther <rguenther@suse.de> diff --git a/gcc/config/pa/pa-hpux11.h b/gcc/config/pa/pa-hpux11.h index 624a7c7334f..e51d4897936 100644 --- a/gcc/config/pa/pa-hpux11.h +++ b/gcc/config/pa/pa-hpux11.h @@ -191,3 +191,6 @@ Boston, MA 02110-1301, USA. */ with secondary definition (weak) symbols. */ #undef TARGET_SOM_SDEF #define TARGET_SOM_SDEF 1 + +#undef TARGET_HPUX_11 +#define TARGET_HPUX_11 1 diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 85c2c1fa28d..b63239808f7 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -512,7 +512,7 @@ pa_init_builtins (void) implicit_built_in_decls[(int) BUILT_IN_FPUTC_UNLOCKED] = implicit_built_in_decls[(int) BUILT_IN_PUTC_UNLOCKED]; #endif -#if TARGET_HPUX +#if TARGET_HPUX_11 if (built_in_decls [BUILT_IN_FINITE]) set_user_assembler_name (built_in_decls [BUILT_IN_FINITE], "_Isfinite"); if (built_in_decls [BUILT_IN_FINITEF]) diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index 09a3d93675d..853de9871fd 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -84,6 +84,11 @@ extern int flag_pa_unix; #define TARGET_HPUX_10_10 0 #endif +/* HP-UX 11.* features (11.00, 11.11, 11.23, etc.) */ +#ifndef TARGET_HPUX_11 +#define TARGET_HPUX_11 0 +#endif + /* HP-UX 11i multibyte and UNIX 98 extensions. */ #ifndef TARGET_HPUX_11_11 #define TARGET_HPUX_11_11 0 |