* ldlang.c (lang_size_sections): When no address is given for a

section, align it according to its requirements.
This commit is contained in:
Ian Lance Taylor
1994-04-25 19:28:58 +00:00
parent f38cd6ec95
commit feaa9c4bda
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Mon Apr 25 15:27:52 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* ldlang.c (lang_size_sections): When no address is given for a
section, align it according to its requirements.
Thu Apr 21 17:24:24 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* Makefile.in (clean, distclean): Remove configdoc.texi.

View File

@ -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
{