From a19ab9d1ccb038df9e564f10d2f688499c864698 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sat, 4 Feb 2012 02:01:58 -0500 Subject: [PATCH] cmd/dist: fix arm build 5l does not use the whole set of ld files like the other linkers do. TBR=golang-dev CC=golang-dev https://golang.org/cl/5629052 --- src/cmd/dist/build.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/cmd/dist/build.c b/src/cmd/dist/build.c index 6cd6f6d4ac..5c68d176d0 100644 --- a/src/cmd/dist/build.c +++ b/src/cmd/dist/build.c @@ -429,7 +429,14 @@ static struct { "$GOROOT/pkg/obj/libgc.a", }}, {"cmd/5l", { - "../ld/*", + "../ld/data.c", + "../ld/elf.c", + "../ld/go.c", + "../ld/ldelf.c", + "../ld/ldmacho.c", + "../ld/ldpe.c", + "../ld/lib.c", + "../ld/symtab.c", "enam.c", }}, {"cmd/6l", { -- 2.50.0