summaryrefslogtreecommitdiffstats
path: root/src/build/linker
diff options
context:
space:
mode:
authorDoug Gilbert <dgilbert@us.ibm.com>2013-11-11 13:46:06 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-11-13 14:39:17 -0600
commit8ad97ccb3e986b673f040af80bc269b57a6f9341 (patch)
tree9b2a972907175085b0719b07a1ea82e922cdda7f /src/build/linker
parent088623f93c5015f0d9d9dae6b50e2b15c0c8b601 (diff)
downloadtalos-hostboot-8ad97ccb3e986b673f040af80bc269b57a6f9341.tar.gz
talos-hostboot-8ad97ccb3e986b673f040af80bc269b57a6f9341.zip
hbirt increase number of modules allowed
Change-Id: I64a05ac460d75a8328a326d808e906dc0751a8d8 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7166 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/build/linker')
-rw-r--r--src/build/linker/linker.C5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/build/linker/linker.C b/src/build/linker/linker.C
index 2a4c3ad16..71b79c220 100644
--- a/src/build/linker/linker.C
+++ b/src/build/linker/linker.C
@@ -981,7 +981,10 @@ void ModuleTable::write_table(vector<Object> & i_objects)
i->offset + i->data.vma_offset;
cout << "Updating base module table..." << endl;
- max_modules = VFS_MODULE_MAX;
+ fseek(iv_output, module_table_offset, SEEK_SET);
+ char mx_mod_ch = 0;
+ fread(&mx_mod_ch,sizeof(char),1,iv_output);
+ max_modules = (uint64_t)mx_mod_ch; // VFS_MODULE_MAX;
++i;
}
else
OpenPOWER on IntegriCloud