On 07/20/2018 07:34 AM, Martin KaFai Lau wrote:
> I noticed the "--version" option of the llvm-objcopy command has recently
> disappeared from the master llvm branch.  It is currently used as a BTF
> support test in tools/testing/selftests/bpf/Makefile.
> 
> This patch replaces it with "--help" which should be
> less error prone in the future.
> 
> Fixes: c0fa1b6c3efc ("bpf: btf: Add BTF tests")
> Signed-off-by: Martin KaFai Lau <ka...@fb.com>

Looks good, ran into the same recently as well from llvm git. Wondering whether
the "--version" removal there was by accident or on purpose. In any case, 
applied
to bpf tree, thanks! If we make another change to the Makefile in near future,
we should also make a comment there that the llvm-objcopy is used by pahole -J
internally to make it a bit more clear in case someone is wondering why it's not
used in the Makefile itself.

Thanks,
Daniel

Reply via email to