* pa/pa-pro-end.h (CPP_PREDEFINES): Add -D__pro__.
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Mar 2002 03:56:23 +0000 (03:56 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Mar 2002 03:56:23 +0000 (03:56 +0000)
* pa/lib2funcs.asm: Don't use .SPACE and .SUBSPACE if __pro__
or __rtems_ is defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51430 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/pa/lib2funcs.asm
gcc/config/pa/pa-pro-end.h

index 946f695..6608a84 100644 (file)
@@ -1,3 +1,10 @@
+2002-03-26  Vladimir Makarov  <vmakarov@redhat.com> 
+
+       * pa/pa-pro-end.h (CPP_PREDEFINES): Add -D__pro__.
+
+       * pa/lib2funcs.asm: Don't use .SPACE and .SUBSPACE if __pro__
+       or __rtems_ is defined.
+
 2002-03-26  Richard Henderson  <rth@redhat.com>
 
        * config/alpha/alpha.c (alpha_emit_set_const): Add a REG_EQUAL note
index bf632d5..abd69d5 100644 (file)
@@ -28,6 +28,7 @@
 ;  the Free Software Foundation, 59 Temple Place - Suite 330,
 ;  Boston, MA 02111-1307, USA.
 
+#if !defined(__pro__) && !defined(__rtems__)
        .SPACE $PRIVATE$
        .SUBSPA $DATA$,QUAD=1,ALIGN=8,ACCESS=31
        .SUBSPA $BSS$,QUAD=1,ALIGN=8,ACCESS=31,ZERO,SORT=82
        .SUBSPA $LIT$,QUAD=0,ALIGN=8,ACCESS=44
        .SUBSPA $CODE$,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY
        .SUBSPA $MILLICODE$,QUAD=0,ALIGN=8,ACCESS=44,SORT=8
-
+#endif
        .IMPORT $$dyncall,MILLICODE
+#if !defined(__pro__) && !defined(__rtems__)
        .SPACE $TEXT$
        .SUBSPA $CODE$
+#else
+       .text
+#endif
 
 ; Simply call with the address of the desired import stub in %r22 and
 ; arguments in the normal place (%r26-%r23 and stack slots).
index 4e154b0..90b7ef5 100644 (file)
@@ -30,7 +30,7 @@ Boston, MA 02111-1307, USA.  */
 #define LIB_SPEC "%{!p:%{!pg:-lc}}%{p: -L/lib/libp/ -lc}%{pg: -L/lib/libp/ -lc}"
 
 #undef CPP_PREDEFINES
-#define CPP_PREDEFINES "-Dhppa -DPWB -Acpu=hppa -Amachine=hppa"
+#define CPP_PREDEFINES "-Dhppa -DPWB -Acpu=hppa -D__pro__ -Amachine=hppa"
 
 /* hpux8 and later have C++ compatible include files, so do not
    pretend they are `extern "C"'.  */