Home | History | Annotate | Download | only in Object

Lines Matching refs:Input

119   Module::input_iterator input, inEnd = m_pModule->input_end();
120 for (input = m_pModule->input_begin(); input!=inEnd; ++input) {
122 if (isGroup(input)) {
123 getGroupReader()->readGroup(input, m_pBuilder->getInputBuilder(), m_Config);
129 if ((*input)->type() == Input::Script ||
130 (*input)->type() == Input::Archive ||
131 (*input)->type() == Input::External)
134 if (Input::Object == (*input)->type()) {
135 m_pModule->getObjectList().push_back(*input);
139 if (Input::DynObj == (*input)->type()) {
140 m_pModule->getLibraryList().push_back(*input);
144 // read input as a binary file
146 (*input)->setType(Input::Object);
147 getBinaryReader()->readBinary(**input);
148 m_pModule->getObjectList().push_back(*input);
151 else if (getObjectReader()->isMyFormat(**input)) {
152 (*input)->setType(Input::Object);
153 getObjectReader()->readHeader(**input);
154 getObjectReader()->readSections(**input);
155 getObjectReader()->readSymbols(**input);
156 m_pModule->getObjectList().push_back(*input);
159 else if (getDynObjReader()->isMyFormat(**input)) {
160 (*input)->setType(Input::DynObj);
161 getDynObjReader()->readHeader(**input);
162 getDynObjReader()->readSymbols(**input);
163 m_pModule->getLibraryList().push_back(*input);
166 else if (getArchiveReader()->isMyFormat(**input)) {
167 (*input)->setType(Input::Archive);
168 Archive archive(**input, m_pBuilder->getInputBuilder());
171 m_pModule->getInputTree().merge<InputTree::Inclusive>(input,
176 fatal(diag::err_unrecognized_input_file) << (*input)->path()
184 // check we have input and output files
225 mcld::InputTree::bfs_iterator input, inEnd = m_pModule->getInputTree().bfs_end();
226 for (input=m_pModule->getInputTree().bfs_begin(); input!=inEnd; ++input) {
227 if ((*input)->type() == Input::Object && (*input)->hasMemArea()) {
228 if (!getObjectReader()->readRelocations(**input))
245 // Some *INPUT sections should not be merged.
299 /// @return if there are some input symbols with the same name to the
314 /// @return if there are some input symbols with the same name to the
334 Module::obj_iterator input, inEnd = m_pModule->obj_end();
335 for (input = m_pModule->obj_begin(); input != inEnd; ++input) {
336 LDContext::sect_iterator rs, rsEnd = (*input)->context()->relocSectEnd();
337 for (rs = (*input)->context()->relocSectBegin(); rs != rsEnd; ++rs) {
341 // 2. it has no reloc data. (All symbols in the input relocs are in the