diff options
author | Keith Kanios <keith@kanios.net> | 2011-02-27 13:14:32 -0600 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2011-02-28 09:49:04 +0300 |
commit | e3f47806658de042af0eaccb1cc7896be388b397 (patch) | |
tree | 208093f9b05fa60f99a1defc2bb9e14d634071e6 | |
parent | b6c1dcaf7081cb06a7633f26c0aa8de003e92def (diff) | |
download | nasm-e3f47806658de042af0eaccb1cc7896be388b397.tar.gz nasm-e3f47806658de042af0eaccb1cc7896be388b397.tar.bz2 nasm-e3f47806658de042af0eaccb1cc7896be388b397.zip |
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 4012cc9..97a29a8 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. */ |