• R
    don't call null pointer if DT_INIT/DT_FINI are null · d0c6cb05
    Rich Felker 提交于
    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).
    d0c6cb05
dynlink.c 35.1 KB