Specify entrypoint when building rust programs
This commit is contained in:
@ -50,6 +50,7 @@ LLD_FLAGS := \
|
|||||||
-shared \
|
-shared \
|
||||||
--Bdynamic \
|
--Bdynamic \
|
||||||
$(LOCAL_PATH)bpf.ld \
|
$(LOCAL_PATH)bpf.ld \
|
||||||
|
--entry entrypoint \
|
||||||
|
|
||||||
OBJ_COPY_FLAGS := \
|
OBJ_COPY_FLAGS := \
|
||||||
--remove-section .eh_frame \
|
--remove-section .eh_frame \
|
||||||
|
Reference in New Issue
Block a user