summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2022-09-15 12:30:54 -0700
committerWaldemar Brodkorb <wbx@openadk.org>2022-09-21 10:35:41 +0200
commit0c979facbd8b9c4af702edebec80a58fdb3b3e92 (patch)
treebaf9977cd801a4c83869ccf29c2e21f34c1d9e71 /libc/misc
parent191c0acf07a4e25a5cdb3937632eb0f81d578965 (diff)
xtensa: add static pie support
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/internals/reloc_static_pie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/internals/reloc_static_pie.c b/libc/misc/internals/reloc_static_pie.c
index ce42cb9b3..ab1923024 100644
--- a/libc/misc/internals/reloc_static_pie.c
+++ b/libc/misc/internals/reloc_static_pie.c
@@ -21,7 +21,7 @@
#include <dl-elf.h>
#include <ldso.h>
-#ifdef __mips__
+#if defined(__mips__) || defined(__xtensa__)
#include <dl-startup.h>
#endif