aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2015-01-29 23:50:10 -0500
committerRuss Cox <rsc@golang.org>2015-02-11 20:36:27 +0000
commiteb1774fa19d1027a8c25a5030429bb162dace95d (patch)
treecddd95b85d74ac1d21c785384822527d9aca2b51 /include
parent81a3f291f0721fee5dee6cd012cfdc7e4ee41a04 (diff)
downloadgo-eb1774fa19d1027a8c25a5030429bb162dace95d.tar.xz
cmd/gc: factor newly-portable code into gc directory
This isn't everything, but it's a start. Still producing bit-identical compiler output. The semantics of the old back ends is preserved, even when they are probably buggy. There are some TODOs in gc/gsubr.c to remove special cases to preserve bugs in 5g and 8g. Change-Id: I28ae295fbfc94ef9df43e13ab96bd6fc2f194bc4 Reviewed-on: https://go-review.googlesource.com/3802 Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/link.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/link.h b/include/link.h
index 91993986b3..4d2ec77647 100644
--- a/include/link.h
+++ b/include/link.h
@@ -277,6 +277,9 @@ enum {
A_ARCHSPECIFIC, // first architecture-specific opcode value
};
+void nopout(Prog*);
+void nocache(Prog*);
+
// prevent incompatible type signatures between liblink and 8l on Plan 9
#pragma incomplete struct Section