summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/HACKS12
-rw-r--r--libexec/ld.elf_so/Makefile9
2 files changed, 2 insertions, 19 deletions
diff --git a/doc/HACKS b/doc/HACKS
index d70365006cf..fedb53e54be 100644
--- a/doc/HACKS
+++ b/doc/HACKS
@@ -1,4 +1,4 @@
-# $NetBSD: HACKS,v 1.142 2013/11/13 11:06:53 skrll Exp $
+# $NetBSD: HACKS,v 1.143 2013/11/16 17:14:06 skrll Exp $
#
# This file is intended to document workarounds for currently unsolved
# (mostly) compiler bugs.
@@ -891,16 +891,6 @@ port x68k
internal compiler error: in cselib_record_set, at cselib.c:1999
kcah
-port x86_64
- hack gcc 4.8 gcc miscompiles
- cdate Wed Nov 13 10:16:00 GMT 2013
- who skrll
- file libexec/ld.elf_so/Makefile:1.124
- descr
- Incorrect code for rtld.o is produced with -fipa-cp-clone - stack
- becomes unaligned in _rtld_unload_object.
- kcah
-
hack fallback to /usr/bin/clang-cpp in rpcgen
cdate Wed Jun 5 15:49:27 CEST 2013
who joerg
diff --git a/libexec/ld.elf_so/Makefile b/libexec/ld.elf_so/Makefile
index d1e3ce740b2..54a1abe86f3 100644
--- a/libexec/ld.elf_so/Makefile
+++ b/libexec/ld.elf_so/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.124 2013/11/13 11:06:53 skrll Exp $
+# $NetBSD: Makefile,v 1.125 2013/11/16 17:14:06 skrll Exp $
#
# NOTE: when changing ld.so, ensure that ldd still compiles.
#
@@ -117,13 +117,6 @@ CPPFLAGS+= -DRTLD_DEFAULT_LIBRARY_PATH=\"${SHLIBDIR}:${LIBDIR}\"
COPTS.rtld.c+= -Wno-stack-protector
COPTS.symbol.c+=-Wno-stack-protector
-.if ${HAVE_GCC} >= 48
-.if ${LDELFSO_MACHINE_ARCH} == "x86_64"
-# gcc 4.8.1 miscompiles rtld.c when ipa-cp-clone is included.
-COPTS.rtld.c+= -fno-ipa-cp-clone
-.endif
-.endif
-
LDADD+= -L${CLIBOBJ} -L${DESTDIR}${LIBDIR}
.if ${MKPICLIB} != "no"
LDADD+= -lc_pic