mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
* ldlang.c (lang_size_sections): When no address is given for a
section, align it according to its requirements.
This commit is contained in:
@@ -1672,6 +1672,8 @@ lang_size_sections (s, output_section_statement, prev, fill, dot, relax)
|
||||
os->region = lang_memory_region_lookup ("*default*");
|
||||
}
|
||||
dot = os->region->current;
|
||||
if (os->section_alignment == -1)
|
||||
dot = align_power (dot, os->bfd_section->alignment_power);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user