Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/libexec/ld.elf_so clang ifunc's on powerpc require sec...
details: https://anonhg.NetBSD.org/src/rev/90b3325a74b2
branches: trunk
changeset: 999052:90b3325a74b2
user: christos <christos%NetBSD.org@localhost>
date: Tue May 14 19:07:07 2019 +0000
description:
clang ifunc's on powerpc require secure-plt.
diffstat:
tests/libexec/ld.elf_so/Makefile | 3 ++-
tests/libexec/ld.elf_so/Makefile.inc | 4 ++++
2 files changed, 6 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r d032f4983e43 -r 90b3325a74b2 tests/libexec/ld.elf_so/Makefile
--- a/tests/libexec/ld.elf_so/Makefile Tue May 14 18:11:34 2019 +0000
+++ b/tests/libexec/ld.elf_so/Makefile Tue May 14 19:07:07 2019 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.9 2017/07/11 15:21:36 joerg Exp $
+# $NetBSD: Makefile,v 1.10 2019/05/14 19:07:07 christos Exp $
#
NOMAN= # defined
+.include "Makefile.inc"
.include <bsd.own.mk>
.if ${MKPIC} != "no"
diff -r d032f4983e43 -r 90b3325a74b2 tests/libexec/ld.elf_so/Makefile.inc
--- a/tests/libexec/ld.elf_so/Makefile.inc Tue May 14 18:11:34 2019 +0000
+++ b/tests/libexec/ld.elf_so/Makefile.inc Tue May 14 19:07:07 2019 +0000
@@ -1,1 +1,5 @@
.include "../Makefile.inc"
+
+.if ${MACHINE_ARCH} == "powerpc"
+CFLAGS += -msecure-plt
+.endif
Home |
Main Index |
Thread Index |
Old Index