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
196786e250
commit
e546223a7d
@ -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…
x
Reference in New Issue
Block a user