summaryrefslogtreecommitdiff
path: root/usr.bin/pcc/mips/order.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/pcc/mips/order.c')
-rw-r--r--usr.bin/pcc/mips/order.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/pcc/mips/order.c b/usr.bin/pcc/mips/order.c
index 940d43a9a20..29c28ec5e64 100644
--- a/usr.bin/pcc/mips/order.c
+++ b/usr.bin/pcc/mips/order.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: order.c,v 1.3 2007/12/22 14:12:26 stefan Exp $ */
+/* $OpenBSD: order.c,v 1.4 2007/12/22 22:56:31 stefan Exp $ */
/*
* Copyright (c) 2003 Anders Magnusson (ragge@ludd.luth.se).
* All rights reserved.
@@ -40,7 +40,10 @@
int
notoff(TWORD t, int r, CONSZ off, char *cp)
{
- if (off > 65535) return 1;
+ /*
+ * although the hardware doesn't permit offsets greater
+ * than +/- 32K, the assembler fixes it for us.
+ */
return 0; /* YES */
}