From a6773ad44206c02bd17552f1d16855f47ef4f360 Mon Sep 17 00:00:00 2001 From: Jack May Date: Mon, 14 Jan 2019 20:13:01 -0800 Subject: [PATCH] Specify entrypoint when building rust programs --- programs/bpf/rust/noop/makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/programs/bpf/rust/noop/makefile b/programs/bpf/rust/noop/makefile index 8714aef36f..1e2b849f2f 100755 --- a/programs/bpf/rust/noop/makefile +++ b/programs/bpf/rust/noop/makefile @@ -50,6 +50,7 @@ LLD_FLAGS := \ -shared \ --Bdynamic \ $(LOCAL_PATH)bpf.ld \ + --entry entrypoint \ OBJ_COPY_FLAGS := \ --remove-section .eh_frame \