output/outbin.c: initialize section align/start attributes upon creation

This commit is contained in:
Keith Kanios 2011-02-27 13:14:32 -06:00
parent 4e45e61055
commit 11db774a15

View file

@ -214,6 +214,10 @@ static struct Section *create_section(char *name)
last_section->follows = last_section->vfollows = 0;
last_section->length = 0;
last_section->flags = 0;
last_section->align = 0;
last_section->valign = 0;
last_section->start = 0;
last_section->vstart = 0;
last_section->next = NULL;
/* Register our sections with NASM. */