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 Specify NOLIBCSANITIZER for the ELF loader



details:   https://anonhg.NetBSD.org/src/rev/eb63a00ed7aa
branches:  trunk
changeset: 744650:eb63a00ed7aa
user:      kamil <kamil%NetBSD.org@localhost>
date:      Sun Feb 09 09:11:59 2020 +0000

description:
Specify NOLIBCSANITIZER for the ELF loader

The sanitizer does not work reliably before finishing initialization of
ld.elf_so. There is also a number of false positives that are not real
problems here.

diffstat:

 libexec/ld.elf_so/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r 47c35baa1d50 -r eb63a00ed7aa libexec/ld.elf_so/Makefile
--- a/libexec/ld.elf_so/Makefile        Sun Feb 09 08:14:55 2020 +0000
+++ b/libexec/ld.elf_so/Makefile        Sun Feb 09 09:11:59 2020 +0000
@@ -1,7 +1,8 @@
-#      $NetBSD: Makefile,v 1.142 2019/11/04 12:45:10 joerg Exp $
+#      $NetBSD: Makefile,v 1.143 2020/02/09 09:11:59 kamil Exp $
 #
 # NOTE: when changing ld.so, ensure that ldd still compiles.
 #
+NOLIBCSANITIZER=# defined
 NOSANITIZER=   # defined
 WARNS?=4
 



Home | Main Index | Thread Index | Old Index