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
This commit is contained in:
Vladimir Makarov 2002-03-27 03:56:23 +00:00 committed by Jeff Law
parent 1ef9531bf7
commit aee8f532df
3 changed files with 14 additions and 2 deletions

View 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

View 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
@ -35,10 +36,14 @@
.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).

View 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"'. */