xref: /linux/tools/build/feature/test-libelf-getphdrnum.c (revision 98af278b1e0fa6b7e6c762e185e99f0cc5e31cfe)
1 // SPDX-License-Identifier: GPL-2.0
2 #include <libelf.h>
3 
4 int main(void)
5 {
6 	size_t dst;
7 
8 	return elf_getphdrnum(0, &dst);
9 }
10