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/helper_ifunc_dso PR/56230: Don't try...



details:   https://anonhg.NetBSD.org/src/rev/200318070898
branches:  trunk
changeset: 983753:200318070898
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jun 04 15:37:48 2021 +0000

description:
PR/56230: Don't try to use ifunc with arm and oabi

diffstat:

 tests/libexec/ld.elf_so/helper_ifunc_dso/h_helper_ifunc.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (15 lines):

diff -r bfd9cf320de2 -r 200318070898 tests/libexec/ld.elf_so/helper_ifunc_dso/h_helper_ifunc.c
--- a/tests/libexec/ld.elf_so/helper_ifunc_dso/h_helper_ifunc.c Fri Jun 04 12:43:14 2021 +0000
+++ b/tests/libexec/ld.elf_so/helper_ifunc_dso/h_helper_ifunc.c Fri Jun 04 15:37:48 2021 +0000
@@ -31,9 +31,9 @@
 #include <string.h>
 
 /*
- * Not supported on hppa
+ * Not supported on hppa or on arm with oabi
  */
-#if !defined(__hppa__)
+#if !defined(__hppa__) && !(defined(__arm__) && !defined(__ARM_EABI__))
 
 static long long
 ifunc1(void)



Home | Main Index | Thread Index | Old Index