summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrin <rin@NetBSD.org>2023-07-07 08:33:25 +0000
committerrin <rin@NetBSD.org>2023-07-07 08:33:25 +0000
commit8c85c8491920cd6b81e5b1261a0dc8dfb91e0846 (patch)
tree30d8c25ad94718eb528e206211cae64ad2b1cd52
parent0a44974a2f83f7d6a0bdffe5725d0be9ea6ece1f (diff)
PR port-alpha/57511 Temporally disable secure PLT for alpha
until support is added to ld.elf_so(1).
-rw-r--r--external/gpl3/binutils/dist/bfd/elf64-alpha.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/gpl3/binutils/dist/bfd/elf64-alpha.c b/external/gpl3/binutils/dist/bfd/elf64-alpha.c
index 493b1b5a076..c66c1c49ef9 100644
--- a/external/gpl3/binutils/dist/bfd/elf64-alpha.c
+++ b/external/gpl3/binutils/dist/bfd/elf64-alpha.c
@@ -83,7 +83,7 @@
/* Set by ld emulation. Putting this into the link_info or hash structure
is simply working too hard. */
-#ifdef USE_SECUREPLT
+#if defined(USE_SECUREPLT) && 0 /* XXX port-alpha/57511 */
bool elf64_alpha_use_secureplt = true;
#else
bool elf64_alpha_use_secureplt = false;