Commit aee8f532 by Vladimir Makarov Committed by Jeff Law

pa-pro-end.h (CPP_PREDEFINES): Add -D__pro__.


	* 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.

From-SVN: r51430
parent 1ef9531b
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> 2002-03-26 Richard Henderson <rth@redhat.com>
* config/alpha/alpha.c (alpha_emit_set_const): Add a REG_EQUAL note * config/alpha/alpha.c (alpha_emit_set_const): Add a REG_EQUAL note
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
; the Free Software Foundation, 59 Temple Place - Suite 330, ; the Free Software Foundation, 59 Temple Place - Suite 330,
; Boston, MA 02111-1307, USA. ; Boston, MA 02111-1307, USA.
#if !defined(__pro__) && !defined(__rtems__)
.SPACE $PRIVATE$ .SPACE $PRIVATE$
.SUBSPA $DATA$,QUAD=1,ALIGN=8,ACCESS=31 .SUBSPA $DATA$,QUAD=1,ALIGN=8,ACCESS=31
.SUBSPA $BSS$,QUAD=1,ALIGN=8,ACCESS=31,ZERO,SORT=82 .SUBSPA $BSS$,QUAD=1,ALIGN=8,ACCESS=31,ZERO,SORT=82
...@@ -35,10 +36,14 @@ ...@@ -35,10 +36,14 @@
.SUBSPA $LIT$,QUAD=0,ALIGN=8,ACCESS=44 .SUBSPA $LIT$,QUAD=0,ALIGN=8,ACCESS=44
.SUBSPA $CODE$,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY .SUBSPA $CODE$,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY
.SUBSPA $MILLICODE$,QUAD=0,ALIGN=8,ACCESS=44,SORT=8 .SUBSPA $MILLICODE$,QUAD=0,ALIGN=8,ACCESS=44,SORT=8
#endif
.IMPORT $$dyncall,MILLICODE .IMPORT $$dyncall,MILLICODE
#if !defined(__pro__) && !defined(__rtems__)
.SPACE $TEXT$ .SPACE $TEXT$
.SUBSPA $CODE$ .SUBSPA $CODE$
#else
.text
#endif
; Simply call with the address of the desired import stub in %r22 and ; Simply call with the address of the desired import stub in %r22 and
; arguments in the normal place (%r26-%r23 and stack slots). ; arguments in the normal place (%r26-%r23 and stack slots).
......
...@@ -30,7 +30,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -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}" #define LIB_SPEC "%{!p:%{!pg:-lc}}%{p: -L/lib/libp/ -lc}%{pg: -L/lib/libp/ -lc}"
#undef CPP_PREDEFINES #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 /* hpux8 and later have C++ compatible include files, so do not
pretend they are `extern "C"'. */ pretend they are `extern "C"'. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment