Lines Matching refs:input
148 Module::input_iterator input, inEnd = m_pModule->input_end(); in normalize() local
149 for (input = m_pModule->input_begin(); input != inEnd; ++input) { in normalize()
151 if (isGroup(input)) { in normalize()
153 input, inEnd, m_pBuilder->getInputBuilder(), m_Config); in normalize()
159 if ((*input)->type() == Input::Script || in normalize()
160 (*input)->type() == Input::Archive || in normalize()
161 (*input)->type() == Input::External) in normalize()
164 if (Input::Object == (*input)->type()) { in normalize()
165 m_pModule->getObjectList().push_back(*input); in normalize()
169 if (Input::DynObj == (*input)->type()) { in normalize()
170 m_pModule->getLibraryList().push_back(*input); in normalize()
176 if (getBinaryReader()->isMyFormat(**input, doContinue)) { in normalize()
177 (*input)->setType(Input::Object); in normalize()
178 getBinaryReader()->readBinary(**input); in normalize()
179 m_pModule->getObjectList().push_back(*input); in normalize()
181 getObjectReader()->isMyFormat(**input, doContinue)) { in normalize()
183 (*input)->setType(Input::Object); in normalize()
184 getObjectReader()->readHeader(**input); in normalize()
185 getObjectReader()->readSections(**input); in normalize()
186 getObjectReader()->readSymbols(**input); in normalize()
187 m_pModule->getObjectList().push_back(*input); in normalize()
189 getDynObjReader()->isMyFormat(**input, doContinue)) { in normalize()
191 (*input)->setType(Input::DynObj); in normalize()
192 getDynObjReader()->readHeader(**input); in normalize()
193 getDynObjReader()->readSymbols(**input); in normalize()
194 m_pModule->getLibraryList().push_back(*input); in normalize()
196 getArchiveReader()->isMyFormat(**input, doContinue)) { in normalize()
198 (*input)->setType(Input::Archive); in normalize()
199 if (m_Config.options().isInExcludeLIBS(**input)) { in normalize()
200 (*input)->setNoExport(); in normalize()
202 Archive archive(**input, m_pBuilder->getInputBuilder()); in normalize()
205 m_pModule->getInputTree().merge<InputTree::Inclusive>(input, in normalize()
209 getScriptReader()->isMyFormat(**input, doContinue)) { in normalize()
212 ScriptFile::LDScript, **input, m_pBuilder->getInputBuilder()); in normalize()
214 (*input)->setType(Input::Script); in normalize()
218 input, script.inputs()); in normalize()
224 << (*input)->path() << m_Config.targets().triple().str(); in normalize()
289 mcld::InputTree::bfs_iterator input, in readRelocations() local
291 for (input = m_pModule->getInputTree().bfs_begin(); input != inEnd; ++input) { in readRelocations()
292 if ((*input)->type() == Input::Object && (*input)->hasMemArea()) { in readRelocations()
293 if (!getObjectReader()->readRelocations(**input)) in readRelocations()
583 Module::obj_iterator input, inEnd = m_pModule->obj_end(); in scanRelocations() local
584 for (input = m_pModule->obj_begin(); input != inEnd; ++input) { in scanRelocations()
585 m_LDBackend.getRelocator()->initializeScan(**input); in scanRelocations()
586 LDContext::sect_iterator rs, rsEnd = (*input)->context()->relocSectEnd(); in scanRelocations()
587 for (rs = (*input)->context()->relocSectBegin(); rs != rsEnd; ++rs) { in scanRelocations()
609 *relocation, *m_pBuilder, *m_pModule, **rs, **input); in scanRelocations()
616 m_LDBackend.getRelocator()->finalizeScan(**input); in scanRelocations()
787 Module::obj_iterator input, inEnd = m_pModule->obj_end(); in relocation() local
788 for (input = m_pModule->obj_begin(); input != inEnd; ++input) { in relocation()
789 m_LDBackend.getRelocator()->initializeApply(**input); in relocation()
790 LDContext::sect_iterator rs, rsEnd = (*input)->context()->relocSectEnd(); in relocation()
791 for (rs = (*input)->context()->relocSectBegin(); rs != rsEnd; ++rs) { in relocation()
826 m_LDBackend.getRelocator()->finalizeApply(**input); in relocation()
872 Module::obj_iterator input, inEnd = m_pModule->obj_end(); in normalSyncRelocationResult() local
873 for (input = m_pModule->obj_begin(); input != inEnd; ++input) { in normalSyncRelocationResult()
874 LDContext::sect_iterator rs, rsEnd = (*input)->context()->relocSectEnd(); in normalSyncRelocationResult()
875 for (rs = (*input)->context()->relocSectBegin(); rs != rsEnd; ++rs) { in normalSyncRelocationResult()