From a5c2455f8aacfc50863c4d3dfd9782c9c3b392e8 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Sat, 21 Feb 2009 17:27:13 -0800 Subject: [PATCH] outbin: fix typo: "sections" not "section" Fix silly typo: the variable is "sections" not "section"... --- output/outbin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/output/outbin.c b/output/outbin.c index f6de9302..71867c1e 100644 --- a/output/outbin.c +++ b/output/outbin.c @@ -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 { -- 2.11.4.GIT