about summary refs log tree commit diff
path: root/src/malloc/calloc.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-06-20 03:01:07 +0000
committerRich Felker <dalias@aerifal.cx>2015-06-20 03:01:07 +0000
commit55d061f031085f24d138664c897791aebe9a2fab (patch)
treeeb829b6ab8dd3243e2d41a9831773b103c5746a3 /src/malloc/calloc.c
parentce3688eca920aa77549323f84e21f33522397115 (diff)
downloadmusl-55d061f031085f24d138664c897791aebe9a2fab.tar.gz
musl-55d061f031085f24d138664c897791aebe9a2fab.tar.xz
musl-55d061f031085f24d138664c897791aebe9a2fab.zip
provide __stack_chk_fail_local in libc.a
this symbol is needed only on archs where the PLT call ABI is klunky,
and only for position-independent code compiled with stack protector.
thus references usually only appear in shared libraries or PIE
executables, but they can also appear when linking statically if some
of the object files being linked were built as PIC/PIE.

normally libssp_nonshared.a from the compiler toolchain should provide
__stack_chk_fail_local, but reportedly it appears prior to -lc in the
link order, thus failing to satisfy references from libc itself (which
arise only if libc.a was built as PIC/PIE with stack protector
enabled).
Diffstat (limited to 'src/malloc/calloc.c')
0 files changed, 0 insertions, 0 deletions