blob: 96a7f8d30a595e0e66336358c36ee490f834eaf3 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +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}