xref: /openbmc/linux/tools/build/feature/test-libelf-getphdrnum.c (revision fcbd8037f7df694aa7bfb7ce82c0c7f5e53e7b7b)
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