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 Error if there are undefined symbols, e.g....
details: https://anonhg.NetBSD.org/src/rev/2a1627f44776
branches: trunk
changeset: 1026649:2a1627f44776
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Dec 04 08:45:56 2021 +0000
description:
Error if there are undefined symbols, e.g. _rtld_call_ifunc
diffstat:
libexec/ld.elf_so/Makefile | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 2cf3375f8630 -r 2a1627f44776 libexec/ld.elf_so/Makefile
--- a/libexec/ld.elf_so/Makefile Sat Dec 04 07:23:43 2021 +0000
+++ b/libexec/ld.elf_so/Makefile Sat Dec 04 08:45:56 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.143 2020/02/09 09:11:59 kamil Exp $
+# $NetBSD: Makefile,v 1.144 2021/12/04 08:45:56 skrll Exp $
#
# NOTE: when changing ld.so, ensure that ldd still compiles.
#
@@ -49,6 +49,7 @@
-shared -nostartfiles -nodefaultlibs
LDFLAGS+= -Wl,-static
LDFLAGS+= -Wl,--warn-shared-textrel
+LDFLAGS+= -Wl,--no-undefined
LDFLAGS+= -Wl,-Map=${.TARGET}.map
COPTS+= -fvisibility=hidden
Home |
Main Index |
Thread Index |
Old Index