[PATCH openEuler-22.09 v3 262/391] libbpf: Fix segfault in static linker for objects without BTF