aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
authorTimothy Wall <twall@alum.mit.edu>2000-02-04 19:49:21 +0000
committerTimothy Wall <twall@alum.mit.edu>2000-02-04 19:49:21 +0000
commit32edc927faea39b1f7be4654f6ffa03f3e6b16ce (patch)
tree7cd1b02bd6ec301f04513440dc1c004710b201c6 /ld/ldlang.c
parent24a17b6c620fbe76e249dae587e0618a876a6d0f (diff)
downloadgdb-32edc927faea39b1f7be4654f6ffa03f3e6b16ce.zip
gdb-32edc927faea39b1f7be4654f6ffa03f3e6b16ce.tar.gz
gdb-32edc927faea39b1f7be4654f6ffa03f3e6b16ce.tar.bz2
Fix typo in ALIGN_N usage.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r--ld/ldlang.c4
1 files changed, 2 insertions, 2 deletions
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);