summaryrefslogtreecommitdiff
path: root/extra/Configs/Config.in
diff options
context:
space:
mode:
authorlinted <linted@users.noreply.github.com>2022-07-16 16:23:45 -0400
committerWaldemar Brodkorb <wbx@openadk.org>2022-08-08 14:51:00 +0200
commit3e14288eaaf62124d090b5225665632e1fe5d47c (patch)
treeff7061c4a5ef94b3db1de9728f36c7e0ae4877f1 /extra/Configs/Config.in
parent52b67ddcf6086f2d385e1e8c1784645807a8d9b6 (diff)
Added support for creation of Static Position-Independent Executables (PIE) on aarch64
Updated config to allow compilation of rcrt1.o for aarch64 and modified it's crt1.S to relocate dynamic section prior to __uClibc_main. Disabled stack protector when compiling reloc_static_pie.c to avoid TLS access prior to it being setup. Signed-off-by: linted <linted@users.noreply.github.com>
Diffstat (limited to 'extra/Configs/Config.in')
-rw-r--r--extra/Configs/Config.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index a49278b30..7d7d374c3 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -304,7 +304,7 @@ config DOPIC
config STATIC_PIE
bool "Add support for Static Position Independent Executables (PIE)"
default n
- depends on DOPIC && !UCLIBC_FORMAT_FDPIC_ELF && (TARGET_arm || TARGET_i386 || TARGET_x86_64)
+ depends on DOPIC && !UCLIBC_FORMAT_FDPIC_ELF && (TARGET_arm || TARGET_i386 || TARGET_x86_64 || TARGET_aarch64)
config ARCH_HAS_NO_SHARED
bool