From 11117bb9ad8b49835ec9d22e15dcf6125339fd26 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Mon, 5 Jul 1993 17:48:04 -0400 Subject: [PATCH] (CPP_PREDEFINES): Define _AIX32. (ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP): Use ".text[PR]" as csect name. (RS6000_CROR_BIT_NUMBER): New macro. (PRINT_OPERAND_PUNCT_VALID_P): Allow `.' as valid. From-SVN: r4847 --- gcc/config/rs6000/rs6000.h | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 6cac85eb813..13d77452f45 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -1,5 +1,5 @@ /* Definitions of target machine for GNU compiler, for IBM RS/6000. - Copyright (C) 1992 Free Software Foundation, Inc. + Copyright (C) 1992, 1993 Free Software Foundation, Inc. Contributed by Richard Kenner (kenner@nyu.edu) This file is part of GNU CC. @@ -25,7 +25,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Names to predefine in the preprocessor for this target machine. */ -#define CPP_PREDEFINES "-D_IBMR2 -D_AIX" +#define CPP_PREDEFINES "-D_IBMR2 -D_AIX -D_AIX32" /* Print subsidiary information on the compiler version in use. */ #define TARGET_VERSION ; @@ -1492,7 +1492,7 @@ toc_section () \ fprintf (FILE, "\t.long ."); \ RS6000_OUTPUT_BASENAME (FILE, NAME); \ fprintf (FILE, ", TOC[tc0], 0\n"); \ - fprintf (FILE, ".csect [PR]\n."); \ + fprintf (FILE, ".csect .text[PR]\n."); \ RS6000_OUTPUT_BASENAME (FILE, NAME); \ fprintf (FILE, ":\n"); \ if (write_symbols == XCOFF_DEBUG) \ @@ -1631,7 +1631,7 @@ toc_section () \ /* Output before instructions. */ -#define TEXT_SECTION_ASM_OP ".csect [PR]" +#define TEXT_SECTION_ASM_OP ".csect .text[PR]" /* Output before writable data. */ @@ -1680,6 +1680,10 @@ toc_section () \ #define DBX_REGISTER_NUMBER(REGNO) (REGNO) +/* Bit number to use in cror after branch. Different between AIX 3.2 and + earlier systems. */ +#define RS6000_CROR_BIT_NUMBER 31 + /* This is how to output the definition of a user-level label named NAME, such as the label on a static function or variable NAME. */ @@ -1842,7 +1846,7 @@ toc_section () \ /* Define which CODE values are valid. */ -#define PRINT_OPERAND_PUNCT_VALID_P(CODE) 0 +#define PRINT_OPERAND_PUNCT_VALID_P(CODE) ((CODE) == '.') /* Print a memory address as an operand to reference that memory location. */ -- 2.30.2