summaryrefslogtreecommitdiffstats
path: root/tools/build/feature/test-libbfd-buildid.c
blob: 157644b04c052a51636f95094547510b5f07ec31 (plain)
1
2
3
4
5
6
7
8
// SPDX-License-Identifier: GPL-2.0
#include <bfd.h>

int main(void)
{
	bfd *abfd = bfd_openr("Pedro", 0);
	return abfd && (!abfd->build_id || abfd->build_id->size > 0x506564726f);
}