Print this page
7323 ld(1) -zignore can erroneously discard init and fini arrays as unreferenced
*** 757,766 ****
--- 757,769 ----
MSG_SCN_CTORS, /* MSG_ORIG(MSG_SCN_CTORS) */
MSG_SCN_DTORS, /* MSG_ORIG(MSG_SCN_DTORS) */
MSG_SCN_EHFRAME, /* MSG_ORIG(MSG_SCN_EHFRAME) */
MSG_SCN_EHFRAME_HDR, /* MSG_ORIG(MSG_SCN_EHFRAME_HDR) */
MSG_SCN_JCR, /* MSG_ORIG(MSG_SCN_JCR) */
+ MSG_SCN_INITARRAY, /* MSG_ORIG(MSG_SCN_INITARRAY) */
+ MSG_SCN_FINIARRAY, /* MSG_ORIG(MSG_SCN_FINIARRAY) */
+ MSG_SCN_PREINITARRAY, /* MSG_ORIG(MSG_SCN_PREINITARRAY) */
0
};
DBG_CALL(Dbg_sec_in(ofl->ofl_lml, isp));