aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/8l
diff options
context:
space:
mode:
authorAnthony Martin <ality@pbrane.org>2012-02-12 23:07:31 -0800
committerAnthony Martin <ality@pbrane.org>2012-02-12 23:07:31 -0800
commitdbec42104f5a7b177ed04098ca4cfb7a1659b9b1 (patch)
tree0fa15085df3dd22e043d41428048e526956ffcef /src/cmd/8l
parentc53b73455bdc2ca7ae6bc9f5e92984ba6682dc45 (diff)
downloadgo-dbec42104f5a7b177ed04098ca4cfb7a1659b9b1.tar.xz
gc, 8g, 8l: fix a handful of warnings
8g/cgen.c print format type mismatch 8l/asm.c resoff set and not used gc/pgen.c misleading comparison INT > 0x80000000 gc/reflect.c dalgsym must be static to match forward declaration gc/subr.c assumed_equal set and not used hashmem's second argument is not used gc/walk.c duplicated (unreachable) code R=rsc CC=golang-dev https://golang.org/cl/5651079
Diffstat (limited to 'src/cmd/8l')
-rw-r--r--src/cmd/8l/asm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/8l/asm.c b/src/cmd/8l/asm.c
index dcaa0b192b..54bda1ac84 100644
--- a/src/cmd/8l/asm.c
+++ b/src/cmd/8l/asm.c
@@ -1004,6 +1004,9 @@ asmb(void)
phsh(ph, sh);
}
+ // Additions to the reserved area must be above this line.
+ USED(resoff);
+
elfphload(&segtext);
elfphload(&segdata);