blob: 96a7f8d30a595e0e66336358c36ee490f834eaf3 [file] [log] [blame]
xjb04a4022021-11-25 15:01:52 +08001// SPDX-License-Identifier: GPL-2.0
2#include <libelf.h>
3
4int main(void)
5{
6 size_t dst;
7
8 return elf_getphdrnum(0, &dst);
9}