diff options
author | Timothy Wall <twall@alum.mit.edu> | 2000-02-04 19:49:21 +0000 |
---|---|---|
committer | Timothy Wall <twall@alum.mit.edu> | 2000-02-04 19:49:21 +0000 |
commit | 32edc927faea39b1f7be4654f6ffa03f3e6b16ce (patch) | |
tree | 7cd1b02bd6ec301f04513440dc1c004710b201c6 | |
parent | 24a17b6c620fbe76e249dae587e0618a876a6d0f (diff) | |
download | fsf-binutils-gdb-32edc927faea39b1f7be4654f6ffa03f3e6b16ce.zip fsf-binutils-gdb-32edc927faea39b1f7be4654f6ffa03f3e6b16ce.tar.gz fsf-binutils-gdb-32edc927faea39b1f7be4654f6ffa03f3e6b16ce.tar.bz2 |
Fix typo in ALIGN_N usage.
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/ldlang.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 33ca5c1..8ceaf8b 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -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 diff --git a/ld/ldlang.c b/ld/ldlang.c index 6896b20..10e41c2 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); |