bpf2c returns error if there are no program sections found in the ELF file #3597
Open
Description
Describe the bug
As reported by Anurag, bpf2c returns error if there are no program sections found in the ELF file
Libbpf supports loading such ELF files that only contain maps.
OS information
No response
Steps taken to reproduce bug
TBD
Expected behavior
A .sys file should be genertaed that contains maps but no programs.
Actual outcome
bpf2c fails.
Additional details
No response