ieee: Fix section index match in sectalign handler

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov 2010-04-25 17:55:52 +04:00
parent 28e6136bee
commit 9868bfe80f

View File

@ -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;
}