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:
parent
83dd177761
commit
2aa3a46729
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=233431
@ -40,7 +40,7 @@ CFLAGS+= -fpic
|
|||||||
CFLAGS+= -DPIC $(DEBUG)
|
CFLAGS+= -DPIC $(DEBUG)
|
||||||
LDFLAGS+= -shared -Wl,-Bsymbolic
|
LDFLAGS+= -shared -Wl,-Bsymbolic
|
||||||
DPADD= ${LIBC_PIC}
|
DPADD= ${LIBC_PIC}
|
||||||
LDADD= -lc_pic -lssp_nonshared
|
LDADD= -lc_pic
|
||||||
|
|
||||||
.if ${MK_SYMVER} == "yes"
|
.if ${MK_SYMVER} == "yes"
|
||||||
LIBCDIR= ${TOPSRCDIR}/lib/libc
|
LIBCDIR= ${TOPSRCDIR}/lib/libc
|
||||||
|
@ -4390,6 +4390,7 @@ __stack_chk_fail(void)
|
|||||||
_rtld_error("stack overflow detected; terminated");
|
_rtld_error("stack overflow detected; terminated");
|
||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
|
__weak_reference(__stack_chk_fail, __stack_chk_fail_local);
|
||||||
|
|
||||||
void
|
void
|
||||||
__chk_fail(void)
|
__chk_fail(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user