nuttx/arch/arm64/src
chao an 4b94dc3092 toolchain/gcc: fix linker error if enable STACK_CANARIES/LTO at same time
If -fstack-protector-all is enabled, gcc linker will need GCC
SSP(Stack Smashing Protector) support, Since the implement of SSP
is related to the OS, most of embedded toolchain does not provide
ssp support, so an error will be reported when linking:

enable CONFIG_LTO_FULL && CONFIG_STACK_CANARIES

arm-none-eabi/bin/ld: cannot find -lssp_nonshared: No such file or directory
arm-none-eabi/bin/ld: cannot find -lssp: No such file or directory

https://github.com/gcc-mirror/gcc/blob/master/gcc/gcc.cc#L983-L985

Since nuttx has already implemented SSP related hook functions,
so in this PR, we filter out this option in the link phase to ensure that
the implementation of lssp/lssp_nonshared will not be referenced

Signed-off-by: chao an <anchao@xiaomi.com>
2023-07-21 01:13:34 +08:00
..
a64 Fix nuttx coding style 2023-07-14 01:16:06 +08:00
common arm64: Use the correct cpu id for fpu idle task init 2023-07-14 01:17:02 +08:00
fvp-v8r arch: fvp-v8r: Fix warning when configuring fvp-armv8r:nsh_smp 2023-06-02 12:08:27 +08:00
qemu arch: arm64: Fix to access psci with hypervisor 2023-06-30 16:10:26 +08:00
.gitignore
Makefile toolchain/gcc: fix linker error if enable STACK_CANARIES/LTO at same time 2023-07-21 01:13:34 +08:00
Toolchain.defs nuttx/toolchain: Add macro _LDBL_EQ_DBL to nuttx/arch/arm64/src/Toolchain.defs 2023-07-11 00:44:45 +08:00