mirror of
https://github.com/opnsense/src.git
synced 2026-04-29 18:32:49 -04:00
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
2 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue