summaryrefslogtreecommitdiff
path: root/gcc/config/pa/pa-hpux10.h
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-04-26 00:54:50 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-04-26 00:54:50 +0000
commit4dc42288d02241dd9ae0108805e7faf3b5e7d27d (patch)
tree175437abc42291e0d1dd27e42d9031e6658220e6 /gcc/config/pa/pa-hpux10.h
parentfec94fadb6344b04350a10ca559788f4bdacd9b1 (diff)
downloadgcc-4dc42288d02241dd9ae0108805e7faf3b5e7d27d.tar.gz
* pa.h (architecture_type): New enum.
(pa_arch_string, pa_arch): Declare. (MASK_PA_10, MASK_PA_20): New flags. (TARGET_SWITCHES): Add pa-risc-2-0. Update docs for PA1.0 codegen. (TARGET_OPTIONS): Add -march= option. * pa.c (pa_arch, pa_arch_string): Define. (override_options): Set them. * pa/pa-hpux10.h (ASM_FILE_START): Output LEVEL 2.0 asm directive for 2.0 architecture. * invoke.texi (Option Summary, HPPA Options): Document new architecture flags. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26637 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/pa/pa-hpux10.h')
-rw-r--r--gcc/config/pa/pa-hpux10.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/pa/pa-hpux10.h b/gcc/config/pa/pa-hpux10.h
index ec56cc67581..183020c2a51 100644
--- a/gcc/config/pa/pa-hpux10.h
+++ b/gcc/config/pa/pa-hpux10.h
@@ -46,7 +46,9 @@ Boston, MA 02111-1307, USA. */
#undef ASM_FILE_START
#define ASM_FILE_START(FILE) \
do { \
- if (TARGET_PA_11) \
+ if (TARGET_PA_20) \
+ fputs("\t.LEVEL 2.0\n", FILE); \
+ else if (TARGET_PA_11) \
fputs("\t.LEVEL 1.1\n", FILE); \
else \
fputs("\t.LEVEL 1.0\n", FILE); \