Print this page
3616 SHF_GROUP sections should not be discarded via other COMDAT mechanisms
3709 need sloppy relocation for GNU .debug_macro
Reviewed by: Joshua M. Clulow <josh@sysmgr.org>
Reviewed by: Robert Mustacchi <rm@joyent.com>
*** 2819,2828 ****
--- 2819,2836 ----
return (S_ERROR);
}
}
/*
+ * Now group information has been processed, we can safely validate
+ * that nothing is fishy about the section COMDAT description. We
+ * need to do this prior to placing the section (where any
+ * SHT_SUNW_COMDAT sections will be restored to being PROGBITS)
+ */
+ ld_comdat_validate(ofl, ifl);
+
+ /*
* Now that all of the input sections have been processed, place
* them in the appropriate output sections.
*/
for (ndx = 1; ndx < ifl->ifl_shnum; ndx++) {
Is_desc *isp;