From 9868bfe80f56ff44664c4c5cf018822908b51529 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Sun, 25 Apr 2010 17:55:52 +0400 Subject: [PATCH] ieee: Fix section index match in sectalign handler Signed-off-by: Cyrill Gorcunov --- output/outieee.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.11.4.GIT