Print this page
ld: implement -ztype and rework option parsing

*** 556,566 **** MSG_DT_SUNW_STRPAD_CF, MSG_DT_SUNW_CAPCHAIN_CF, MSG_DT_SUNW_LDMACH_CF, 0, MSG_DT_SUNW_CAPCHAINENT_CF, 0, MSG_DT_SUNW_CAPCHAINSZ_CF, 0, 0, 0, ! MSG_DT_SUNW_ASLR_CF }; static const Msg tags_sunw_auxiliary_cfnp[] = { MSG_DT_SUNW_AUXILIARY_CFNP, MSG_DT_SUNW_RTLDINF_CFNP, MSG_DT_SUNW_FILTER_CFNP, MSG_DT_SUNW_CAP_CFNP, MSG_DT_SUNW_SYMTAB_CFNP, MSG_DT_SUNW_SYMSZ_CFNP, --- 556,568 ---- MSG_DT_SUNW_STRPAD_CF, MSG_DT_SUNW_CAPCHAIN_CF, MSG_DT_SUNW_LDMACH_CF, 0, MSG_DT_SUNW_CAPCHAINENT_CF, 0, MSG_DT_SUNW_CAPCHAINSZ_CF, 0, 0, 0, ! MSG_DT_SUNW_ASLR_CF, 0, ! 0, 0, ! MSG_DT_SUNW_KMOD_CF }; static const Msg tags_sunw_auxiliary_cfnp[] = { MSG_DT_SUNW_AUXILIARY_CFNP, MSG_DT_SUNW_RTLDINF_CFNP, MSG_DT_SUNW_FILTER_CFNP, MSG_DT_SUNW_CAP_CFNP, MSG_DT_SUNW_SYMTAB_CFNP, MSG_DT_SUNW_SYMSZ_CFNP,
*** 570,580 **** MSG_DT_SUNW_STRPAD_CFNP, MSG_DT_SUNW_CAPCHAIN_CFNP, MSG_DT_SUNW_LDMACH_CFNP, 0, MSG_DT_SUNW_CAPCHAINENT_CFNP, 0, MSG_DT_SUNW_CAPCHAINSZ_CFNP, 0, 0, 0, ! MSG_DT_SUNW_ASLR_CFNP }; static const Msg tags_sunw_auxiliary_nf[] = { MSG_DT_SUNW_AUXILIARY_NF, MSG_DT_SUNW_RTLDINF_NF, MSG_DT_SUNW_FILTER_NF, MSG_DT_SUNW_CAP_NF, MSG_DT_SUNW_SYMTAB_NF, MSG_DT_SUNW_SYMSZ_NF, --- 572,584 ---- MSG_DT_SUNW_STRPAD_CFNP, MSG_DT_SUNW_CAPCHAIN_CFNP, MSG_DT_SUNW_LDMACH_CFNP, 0, MSG_DT_SUNW_CAPCHAINENT_CFNP, 0, MSG_DT_SUNW_CAPCHAINSZ_CFNP, 0, 0, 0, ! MSG_DT_SUNW_ASLR_CFNP, 0, ! 0, 0, ! MSG_DT_SUNW_KMOD_CFNP }; static const Msg tags_sunw_auxiliary_nf[] = { MSG_DT_SUNW_AUXILIARY_NF, MSG_DT_SUNW_RTLDINF_NF, MSG_DT_SUNW_FILTER_NF, MSG_DT_SUNW_CAP_NF, MSG_DT_SUNW_SYMTAB_NF, MSG_DT_SUNW_SYMSZ_NF,
*** 584,594 **** MSG_DT_SUNW_STRPAD_NF, MSG_DT_SUNW_CAPCHAIN_NF, MSG_DT_SUNW_LDMACH_NF, 0, MSG_DT_SUNW_CAPCHAINENT_NF, 0, MSG_DT_SUNW_CAPCHAINSZ_NF, 0, 0, 0, ! MSG_DT_SUNW_ASLR_NF }; static const conv_ds_msg_t ds_sunw_auxiliary_cf = { CONV_DS_MSG_INIT(DT_SUNW_AUXILIARY, tags_sunw_auxiliary_cf) }; static const conv_ds_msg_t ds_sunw_auxiliary_cfnp = { CONV_DS_MSG_INIT(DT_SUNW_AUXILIARY, tags_sunw_auxiliary_cfnp) }; --- 588,600 ---- MSG_DT_SUNW_STRPAD_NF, MSG_DT_SUNW_CAPCHAIN_NF, MSG_DT_SUNW_LDMACH_NF, 0, MSG_DT_SUNW_CAPCHAINENT_NF, 0, MSG_DT_SUNW_CAPCHAINSZ_NF, 0, 0, 0, ! MSG_DT_SUNW_ASLR_NF, 0, ! 0, 0, ! MSG_DT_SUNW_KMOD_NF }; static const conv_ds_msg_t ds_sunw_auxiliary_cf = { CONV_DS_MSG_INIT(DT_SUNW_AUXILIARY, tags_sunw_auxiliary_cf) }; static const conv_ds_msg_t ds_sunw_auxiliary_cfnp = { CONV_DS_MSG_INIT(DT_SUNW_AUXILIARY, tags_sunw_auxiliary_cfnp) };