summaryrefslogtreecommitdiff
path: root/usr.bin/pcc/i386/table.c
diff options
context:
space:
mode:
authorAnders Magnusson <ragge@cvs.openbsd.org>2007-12-09 18:54:40 +0000
committerAnders Magnusson <ragge@cvs.openbsd.org>2007-12-09 18:54:40 +0000
commitd0ef6a00182cf3073f66ef501893e6b93016bee2 (patch)
tree4ca736e43fc2a37e940d93ed073f8066420b6e40 /usr.bin/pcc/i386/table.c
parenteb5cd1326c57b80460c264cca6fde959e0ec9766 (diff)
Updates from master repo:
- Add support for PIC code.
Diffstat (limited to 'usr.bin/pcc/i386/table.c')
-rw-r--r--usr.bin/pcc/i386/table.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/pcc/i386/table.c b/usr.bin/pcc/i386/table.c
index cad725ad629..7f27036bb03 100644
--- a/usr.bin/pcc/i386/table.c
+++ b/usr.bin/pcc/i386/table.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: table.c,v 1.2 2007/10/23 14:48:36 ragge Exp $ */
+/* $OpenBSD: table.c,v 1.3 2007/12/09 18:54:39 ragge Exp $ */
/*
* Copyright (c) 2003 Anders Magnusson (ragge@ludd.luth.se).
* All rights reserved.
@@ -389,13 +389,13 @@ struct optab table[] = {
{ CALL, INAREG,
SCON, TANY,
- SAREG, TWORD|TPOINT,
+ SAREG, TSHORT|TUSHORT|TWORD|TPOINT,
NAREG|NASL, RESC1, /* should be 0 */
" call CL\nZC", },
{ UCALL, INAREG,
SCON, TANY,
- SAREG, TWORD|TPOINT,
+ SAREG, TSHORT|TUSHORT|TWORD|TPOINT,
NAREG|NASL, RESC1, /* should be 0 */
" call CL\n", },