On Mon, 22 Feb 2016 18:27:32 -0700, Frank Swarbrick wrote: >Is there an option that tells the binder to INCLUDE a module only if it >resolves at least one unresolved symbol? > <NOSTALGIA> Gee. IIRC, UCSD Pascal's SYSLIB was notionally just one enormous load module. "Smart Link" INCLUDed that module then REPLACEd (deleted) all unreferenced CSECTs, even those from user code. (Beware cyclic references.) (Or maybe it was Apple][.) </NOSTALGIA>
RFE? Might one do this by scraping SYSPRINT or AMBLIST and relinking with generated REPLACEs? (Beware cyclic references; start with declared ENTRYs; traverse the tree; REPLACE all unvisited CSECTs.) -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
