Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/ld.elf_so Disable use of various X86 extensions sinc...
details: https://anonhg.NetBSD.org/src/rev/4687f0405834
branches: trunk
changeset: 765184:4687f0405834
user: joerg <joerg%NetBSD.org@localhost>
date: Fri May 20 22:22:44 2011 +0000
description:
Disable use of various X86 extensions since _rtld_bind_start doesn't
save the necessary registers.
diffstat:
libexec/ld.elf_so/Makefile | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r dab32fa3d4a0 -r 4687f0405834 libexec/ld.elf_so/Makefile
--- a/libexec/ld.elf_so/Makefile Fri May 20 22:21:32 2011 +0000
+++ b/libexec/ld.elf_so/Makefile Fri May 20 22:22:44 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.104 2011/05/20 22:21:32 joerg Exp $
+# $NetBSD: Makefile,v 1.105 2011/05/20 22:22:44 joerg Exp $
#
# NOTE: when changing ld.so, ensure that ldd still compiles.
#
@@ -93,6 +93,10 @@
#DBG= -g
DBG= -O3 -fomit-frame-pointer
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
+DBG+= -mno-3dnow -mno-mmx -mno-sse -mno-sse2 -mno-sse3
+.endif
+
.if ${SHLIBDIR} != ${LIBDIR}
CPPFLAGS+= -DRTLD_DEFAULT_LIBRARY_PATH=\"${SHLIBDIR}:${LIBDIR}\"
.endif
Home |
Main Index |
Thread Index |
Old Index