summaryrefslogtreecommitdiffstats
path: root/tools/build/feature/test-libelf-mmap.c
blob: 2c3ef81affe254c9f3856ac739da10c1a09ae6aa (plain)
1
2
3
4
5
6
7
8
9
// SPDX-License-Identifier: GPL-2.0
#include <libelf.h>

int main(void)
{
	Elf *elf = elf_begin(0, ELF_C_READ_MMAP, 0);

	return (long)elf;
}
OpenPOWER on IntegriCloud