summaryrefslogtreecommitdiff
path: root/usr.bin/pcc
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/pcc')
-rw-r--r--usr.bin/pcc/vax/code.c9
-rw-r--r--usr.bin/pcc/vax/local2.c10
-rw-r--r--usr.bin/pcc/vax/order.c15
3 files changed, 19 insertions, 15 deletions
diff --git a/usr.bin/pcc/vax/code.c b/usr.bin/pcc/vax/code.c
index a4096fd9f13..4ae4e525412 100644
--- a/usr.bin/pcc/vax/code.c
+++ b/usr.bin/pcc/vax/code.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: code.c,v 1.4 2007/11/22 15:06:43 stefan Exp $ */
+/* $OpenBSD: code.c,v 1.5 2007/12/09 18:56:17 ragge Exp $ */
/*
* Copyright(C) Caldera International Inc. 2001-2002. All rights reserved.
*
@@ -184,13 +184,6 @@ bycode( t, i ){
}
}
-void
-zecode( n ){
- /* n integer words of zeros */
- if( n <= 0 ) return;
- printf( " .space %d\n", (SZINT/SZCHAR)*n );
- }
-
int
fldal( t ) unsigned t; { /* return the alignment of field of type t */
uerror( "illegal field type" );
diff --git a/usr.bin/pcc/vax/local2.c b/usr.bin/pcc/vax/local2.c
index fcc60ef98ee..4a2ba225325 100644
--- a/usr.bin/pcc/vax/local2.c
+++ b/usr.bin/pcc/vax/local2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: local2.c,v 1.4 2007/11/17 12:00:37 ragge Exp $ */
+/* $OpenBSD: local2.c,v 1.5 2007/12/09 18:56:17 ragge Exp $ */
/*
* Copyright(C) Caldera International Inc. 2001-2002. All rights reserved.
*
@@ -1009,3 +1009,11 @@ special(NODE *p, int shape)
{
return SRNOPE;
}
+
+/*
+ * Target-dependent command-line options.
+ */
+void
+mflags(char *str)
+{
+}
diff --git a/usr.bin/pcc/vax/order.c b/usr.bin/pcc/vax/order.c
index e25554eaf7a..42adda0a58d 100644
--- a/usr.bin/pcc/vax/order.c
+++ b/usr.bin/pcc/vax/order.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: order.c,v 1.3 2007/11/16 09:00:13 otto Exp $ */
+/* $OpenBSD: order.c,v 1.4 2007/12/09 18:56:17 ragge Exp $ */
/*
* Copyright(C) Caldera International Inc. 2001-2002. All rights reserved.
*
@@ -344,11 +344,6 @@ comperr("offstar");
}
int
-setincr( p ) NODE *p; {
- return( 0 ); /* for the moment, don't bother */
- }
-
-int
setbin( p ) register NODE *p; {
#if 0
@@ -606,3 +601,11 @@ livecall(NODE *p)
return &r[0];
}
+/*
+ * Signal whether the instruction is acceptable for this target.
+ */
+int
+acceptable(struct optab *op)
+{
+ return 1;
+}