public inbox for binutils-cvs@sourceware.org help / color / mirror / Atom feed
From: liu & zhensong <liuzhensong@sourceware.org> To: bfd-cvs@sourceware.org Subject: [binutils-gdb] LoongArch: Set defaults to exec stack 0. Date: Mon, 1 Aug 2022 01:09:45 +0000 (GMT) [thread overview] Message-ID: <20220801010945.BE16B38582A6@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=48ca1b26b99c8fd5bc21f5c69b6b666d9b6b9726 commit 48ca1b26b99c8fd5bc21f5c69b6b666d9b6b9726 Author: liuzhensong <liuzhensong@loongson.cn> Date: Mon Jul 25 10:22:27 2022 +0800 LoongArch: Set defaults to exec stack 0. Diff: --- bfd/elfnn-loongarch.c | 1 + ld/testsuite/ld-elf/elf.exp | 1 + 2 files changed, 2 insertions(+) diff --git a/bfd/elfnn-loongarch.c b/bfd/elfnn-loongarch.c index 99d889ae11d..8d0f66ea7c1 100644 --- a/bfd/elfnn-loongarch.c +++ b/bfd/elfnn-loongarch.c @@ -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. */ diff --git a/ld/testsuite/ld-elf/elf.exp b/ld/testsuite/ld-elf/elf.exp index 10c635e9593..64b1d34f055 100644 --- a/ld/testsuite/ld-elf/elf.exp +++ b/ld/testsuite/ld-elf/elf.exp @@ -184,6 +184,7 @@ proc target_defaults_to_execstack {} { || [istarget "arc*-*-*"] || [istarget "cris*-*-*"] || [istarget "ia64*-*-*"] + || [istarget "loongarch*-*-*"] || [istarget "nios2*-*-*"] || [istarget "powerpc64*-*-*"] || [istarget "riscv*-*-*"]
reply other threads:[~2022-08-01 1:09 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220801010945.BE16B38582A6@sourceware.org \ --to=liuzhensong@sourceware.org \ --cc=bfd-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).