diff options
author | Keith Kanios <keith@kanios.net> | 2011-02-27 13:14:32 -0600 |
---|---|---|
committer | Keith Kanios <keith@kanios.net> | 2011-02-27 13:14:32 -0600 |
commit | 11db774a151e9d895fa05f980563a5cafb0f306a (patch) | |
tree | 34ffd6d0866a96799da2db23e194c9e537166f71 | |
parent | 4e45e6105594e49a63ca982d395005a1c44a0b3c (diff) | |
download | nasm-11db774a151e9d895fa05f980563a5cafb0f306a.tar.gz |
output/outbin.c: initialize section align/start attributes upon creation
-rw-r--r-- | output/outbin.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/output/outbin.c b/output/outbin.c index 4012cc9c..97a29a89 100644 --- a/output/outbin.c +++ b/output/outbin.c @@ -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. */ |