projects
/
platform
/
upstream
/
nasm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6c1dca
)
output/outbin.c: initialize section align/start attributes upon creation
author
Keith Kanios
<keith@kanios.net>
Sun, 27 Feb 2011 19:14:32 +0000
(13:14 -0600)
committer
Cyrill Gorcunov
<gorcunov@gmail.com>
Mon, 28 Feb 2011 06:49:04 +0000
(09:49 +0300)
output/outbin.c
patch
|
blob
|
history
diff --git
a/output/outbin.c
b/output/outbin.c
index 4012cc9c7e65a073bf05ed8be4e8fbd37fe141d7..97a29a8917d3e6bfc59b2f21e8149fd009785374 100644
(file)
--- 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. */