mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-02-11 17:10:45 +08:00
ieee: Fix section index match in sectalign handler
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
28e6136bee
commit
9868bfe80f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user