diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-07-31 00:04:10 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-07-31 00:04:10 -0400 |
commit | d0c6cb05e71e624338571cda28f5c17d3ab0004c (patch) | |
tree | eb03e76982a300df4b85541c5cc1670a1c7a9a93 /src/linux/flock.c | |
parent | 9a8d7bee80063118439fd6b368b9bb43d930ea19 (diff) | |
download | musl-d0c6cb05e71e624338571cda28f5c17d3ab0004c.tar.gz musl-d0c6cb05e71e624338571cda28f5c17d3ab0004c.tar.bz2 musl-d0c6cb05e71e624338571cda28f5c17d3ab0004c.tar.xz musl-d0c6cb05e71e624338571cda28f5c17d3ab0004c.zip |
don't call null pointer if DT_INIT/DT_FINI are null
it's not clear to me why the linker even outputs these headers if they
are null, but apparently it does so. with the default startfiles, they
will never be null anyway, but this patch allows eliminating crti,
crtn, crtbegin, and crtend (leaving only crt1) if the toolchain is
using init_array/fini_array (or for a C-only, no-ctor environment).
Diffstat (limited to 'src/linux/flock.c')
0 files changed, 0 insertions, 0 deletions