projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33a3a15
)
Pass down alignment when adding input section to orphan section.
author
Ian Lance Taylor
<iant@google.com>
Tue, 12 Feb 2008 00:17:35 +0000
(
00:17
+0000)
committer
Ian Lance Taylor
<iant@google.com>
Tue, 12 Feb 2008 00:17:35 +0000
(
00:17
+0000)
gold/script-sections.cc
patch
|
blob
|
history
diff --git
a/gold/script-sections.cc
b/gold/script-sections.cc
index 341599c5b4721db94e7a970e7328a1f1c9ef3003..db0c53b5170714136141a9230e9955508f2349de 100644
(file)
--- a/
gold/script-sections.cc
+++ b/
gold/script-sections.cc
@@
-1914,7
+1914,8
@@
Orphan_output_section::set_section_addresses(Symbol_table*, Layout*,
}
address = align_address(address, addralign);
- this->os_->add_input_section_for_script(p->first, p->second, size, 0);
+ this->os_->add_input_section_for_script(p->first, p->second, size,
+ addralign);
address += size;
}