Author: kib
Date: Tue Nov 22 09:49:15 2016
New Revision: 308967
URL: https://svnweb.freebsd.org/changeset/base/308967

Log:
  MFC r308688:
  Assert that there is no unresolved symbols during rtld linking.

Modified:
  stable/10/libexec/rtld-elf/Makefile
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/libexec/rtld-elf/Makefile
==============================================================================
--- stable/10/libexec/rtld-elf/Makefile Tue Nov 22 09:47:22 2016        
(r308966)
+++ stable/10/libexec/rtld-elf/Makefile Tue Nov 22 09:49:15 2016        
(r308967)
@@ -45,7 +45,7 @@ CFLAGS+=      -DPIC $(DEBUG)
 .if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
 CFLAGS+=       -fvisibility=hidden
 .endif
-LDFLAGS+=      -shared -Wl,-Bsymbolic
+LDFLAGS+=      -shared -Wl,-Bsymbolic -Wl,-z,defs
 DPADD=         ${LIBC_PIC}
 LDADD=         -lc_pic
 
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to