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