LoongArch: Set defaults to exec stack 0.

This commit is contained in:
liuzhensong 2022-07-25 10:22:27 +08:00
parent 9ea6fffe1e
commit 48ca1b26b9
2 changed files with 2 additions and 0 deletions

View File

@ -132,6 +132,7 @@ struct loongarch_elf_link_hash_table
#define elf_backend_want_dynrelro 1
#define elf_backend_rela_normal 1
#define elf_backend_default_execstack 0
/* Generate a PLT header. */

View File

@ -184,6 +184,7 @@ proc target_defaults_to_execstack {} {
|| [istarget "arc*-*-*"]
|| [istarget "cris*-*-*"]
|| [istarget "ia64*-*-*"]
|| [istarget "loongarch*-*-*"]
|| [istarget "nios2*-*-*"]
|| [istarget "powerpc64*-*-*"]
|| [istarget "riscv*-*-*"]