diff options
author | Doug Gilbert <dgilbert@us.ibm.com> | 2013-11-11 13:46:06 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-11-13 14:39:17 -0600 |
commit | 8ad97ccb3e986b673f040af80bc269b57a6f9341 (patch) | |
tree | 9b2a972907175085b0719b07a1ea82e922cdda7f /src/build/linker | |
parent | 088623f93c5015f0d9d9dae6b50e2b15c0c8b601 (diff) | |
download | talos-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.C | 5 |
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 |