+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
; 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).
#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"'. */