Fix typo in ALIGN_N usage.

This commit is contained in:
Timothy Wall 2000-02-04 19:49:21 +00:00
parent 24a17b6c62
commit 32edc927fa
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2000-02-04 Timothy Wall <twall@redhat.com>
* ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
2000-02-03 Timothy Wall <twall@redhat.com>
* ld/ldexp.c (fold_name): Make SIZEOF operator return byte count, not

View File

@ -2824,8 +2824,8 @@ lang_size_sections (s, output_section_statement, prev, fill, dot, relax)
/* put the section within the requested block size, or align at
the block boundary */
after = ALIGN_N (os->bfd_section->vma,
os->bfd_section->_raw_size / opb,
after = ALIGN_N (os->bfd_section->vma
+ os->bfd_section->_raw_size / opb,
/* The coercion here is important, see ld.h. */
(bfd_vma) os->block_value);