summaryrefslogtreecommitdiffstats
path: root/src/build/linker/linker.C
diff options
context:
space:
mode:
authorDoug Gilbert <dgilbert@us.ibm.com>2011-12-16 15:52:35 -0600
committerDouglas R. Gilbert <dgilbert@us.ibm.com>2012-01-03 10:50:46 -0600
commit4251b56d6cf0474aca73b1d7f4c34f33dce42d20 (patch)
treec60cbc1ea62464cdae0928a30fb3220943c178dc /src/build/linker/linker.C
parent0b377b7e0bf55dca1c220c9fbca497ff76e49f65 (diff)
downloadblackbird-hostboot-4251b56d6cf0474aca73b1d7f4c34f33dce42d20.tar.gz
blackbird-hostboot-4251b56d6cf0474aca73b1d7f4c34f33dce42d20.zip
Change VFS to return non page aligned size in types
Change-Id: Id4d7c03b65a2c15e434e8282691d0cc4c9961267 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/584 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/build/linker/linker.C')
-rw-r--r--src/build/linker/linker.C3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/build/linker/linker.C b/src/build/linker/linker.C
index e0acbdef4..2da9e881e 100644
--- a/src/build/linker/linker.C
+++ b/src/build/linker/linker.C
@@ -956,6 +956,7 @@ void ModuleTable::write_table(vector<Object> & i_objects)
text_offset = i->text.vma_offset + i->offset + i->base_addr;
data_offset = i->data.vma_offset + i->offset + i->base_addr;
module_size = i->data.vma_offset + i->data.size;
+ module_size = page_align(module_size);
}
else // binary blob
{
@@ -966,7 +967,7 @@ void ModuleTable::write_table(vector<Object> & i_objects)
fclose(f);
}
- module_size = page_align(module_size)/4096;
+ //module_size = page_align(module_size)/4096;
char data[sizeof(uint64_t)];
OpenPOWER on IntegriCloud