outbin: fix typo: "sections" not "section"

Fix silly typo: the variable is "sections" not "section"...
This commit is contained in:
H. Peter Anvin 2009-02-21 17:27:13 -08:00
parent 999868f06f
commit a5c2455f8a

View File

@ -365,12 +365,12 @@ static void bin_cleanup(int debuginfo)
/* Make sure we have an origin and a start address for the first section. */
if (origin_defined) {
if (section->flags & START_DEFINED) {
if (sections->flags & START_DEFINED) {
/* Make sure this section doesn't begin before the origin. */
if (sections->start < origin)
error(ERR_FATAL|ERR_NOFILE, "section %s begins"
" before program origin", sections->name);
} else if (section->flags & ALIGN_DEFINED) {
} else if (sections->flags & ALIGN_DEFINED) {
sections->start = ((origin + sections->align - 1) &
~(sections->align - 1));
} else {