From 32edc927faea39b1f7be4654f6ffa03f3e6b16ce Mon Sep 17 00:00:00 2001 From: Timothy Wall Date: Fri, 4 Feb 2000 19:49:21 +0000 Subject: [PATCH] Fix typo in ALIGN_N usage. --- ld/ChangeLog | 4 ++++ ld/ldlang.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 33ca5c1185c..8ceaf8bd0b9 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2000-02-04 Timothy Wall + + * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation. + 2000-02-03 Timothy Wall * ld/ldexp.c (fold_name): Make SIZEOF operator return byte count, not diff --git a/ld/ldlang.c b/ld/ldlang.c index 6896b204018..10e41c247f8 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -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); -- 2.30.2