mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-01-24 16:35:40 +08:00
output/outbin.c: initialize section align/start attributes upon creation
This commit is contained in:
parent
4e45e61055
commit
11db774a15
@ -214,6 +214,10 @@ static struct Section *create_section(char *name)
|
|||||||
last_section->follows = last_section->vfollows = 0;
|
last_section->follows = last_section->vfollows = 0;
|
||||||
last_section->length = 0;
|
last_section->length = 0;
|
||||||
last_section->flags = 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;
|
last_section->next = NULL;
|
||||||
|
|
||||||
/* Register our sections with NASM. */
|
/* Register our sections with NASM. */
|
||||||
|
Loading…
Reference in New Issue
Block a user