xref: /linux/tools/build/feature/test-libbfd-buildid.c (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1 // SPDX-License-Identifier: GPL-2.0
2 #include <bfd.h>
3 
4 int main(void)
5 {
6 	bfd *abfd = bfd_openr("Pedro", 0);
7 	return abfd && (!abfd->build_id || abfd->build_id->size > 0x506564726f);
8 }
9