crt.h \
ctype.h \
dirent.h \
+ elf.h \
errno.h \
limits.h \
nolibc.h \
--- /dev/null
+/* SPDX-License-Identifier: LGPL-2.1 OR MIT */
+/*
+ * Shim elf.h header for NOLIBC.
+ * Copyright (C) 2025 Thomas Weißschuh <thomas.weissschuh@linutronix.de>
+ */
+
+#ifndef _NOLIBC_SYS_ELF_H
+#define _NOLIBC_SYS_ELF_H
+
+#include <linux/elf.h>
+
+/* make sure to include all global symbols */
+#include "nolibc.h"
+
+#endif /* _NOLIBC_SYS_ELF_H */
#include "types.h"
#include "sys.h"
#include "ctype.h"
+#include "elf.h"
#include "signal.h"
#include "unistd.h"
#include "stdio.h"