Remove libssp_nonshared from the rtld linking set. The only use for the

library was definition for the weak alias of __stack_chk_fail.

No objections from:	kan
MFC after:	2 weeks
This commit is contained in:
Konstantin Belousov 2012-03-24 19:14:44 +00:00
parent 83dd177761
commit 2aa3a46729
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=233431
2 changed files with 2 additions and 1 deletions

View File

@ -40,7 +40,7 @@ CFLAGS+= -fpic
CFLAGS+= -DPIC $(DEBUG)
LDFLAGS+= -shared -Wl,-Bsymbolic
DPADD= ${LIBC_PIC}
LDADD= -lc_pic -lssp_nonshared
LDADD= -lc_pic
.if ${MK_SYMVER} == "yes"
LIBCDIR= ${TOPSRCDIR}/lib/libc

View File

@ -4390,6 +4390,7 @@ __stack_chk_fail(void)
_rtld_error("stack overflow detected; terminated");
die();
}
__weak_reference(__stack_chk_fail, __stack_chk_fail_local);
void
__chk_fail(void)