aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2010-04-25 17:55:52 +0400
committerCyrill Gorcunov <gorcunov@gmail.com>2010-04-25 17:55:52 +0400
commit9868bfe80f56ff44664c4c5cf018822908b51529 (patch)
treedb461df2342a67dae99ddcb736feb08c215ab4df
parent28e6136bee379e24585a7a752def92f9408786b4 (diff)
downloadnasm-test-9868bfe80f56ff44664c4c5cf018822908b51529.tar.gz
nasm-test-9868bfe80f56ff44664c4c5cf018822908b51529.tar.xz
nasm-test-9868bfe80f56ff44664c4c5cf018822908b51529.zip
ieee: Fix section index match in sectalign handler
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
-rw-r--r--output/outieee.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/output/outieee.c b/output/outieee.c
index c5c04135..c6923fd4 100644
--- a/output/outieee.c
+++ b/output/outieee.c
@@ -848,7 +848,7 @@ static void ieee_sectalign(int32_t seg, unsigned int value)
struct ieeeSection *s;
list_for_each(s, seghead) {
- if (s->index == seg - 1)
+ if (s->index == seg)
break;
}