From 831c6844346cbd405f6c83a7e657dfff0f1cb831 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 25 May 2011 09:44:05 -0400 Subject: [PATCH] 5l: fix build R=ken2 CC=golang-dev https://golang.org/cl/4538095 --- src/cmd/5l/asm.c | 6 ++++++ src/cmd/ld/lib.h | 1 + 2 files changed, 7 insertions(+) diff --git a/src/cmd/5l/asm.c b/src/cmd/5l/asm.c index 9e9c2c1ebb3..81c08e35354 100644 --- a/src/cmd/5l/asm.c +++ b/src/cmd/5l/asm.c @@ -1977,3 +1977,9 @@ genasmsym(void (*put)(Sym*, char*, int, vlong, vlong, int, Sym*)) Bprint(&bso, "symsize = %ud\n", symsize); Bflush(&bso); } + +void +setpersrc(Sym *s) +{ + USED(s); +} diff --git a/src/cmd/ld/lib.h b/src/cmd/ld/lib.h index cd4608085fe..f69f5a35d43 100644 --- a/src/cmd/ld/lib.h +++ b/src/cmd/ld/lib.h @@ -202,6 +202,7 @@ void addexport(void); void dostkcheck(void); void undef(void); void doweak(void); +void setpersrc(Sym*); int pathchar(void); void* mal(uint32);