outbin.c: fix one missed change from type -> size

Fix one missed change from "type" to "size".  May want to look through
all the other backends as well for similar issues.

This would generate the wrong section lengths, with obviously bad results.
This commit is contained in:
H. Peter Anvin 2007-11-15 10:24:55 -08:00
parent dbb1828ad5
commit 604a3f4e21

View file

@ -802,7 +802,7 @@ static void bin_out(int32_t segto, const void *data,
" %s section: zeroing", s->name);
saa_wbytes(s->contents, NULL, size);
}
s->length += type;
s->length += size;
} else if (type == OUT_REL2ADR || type == OUT_REL4ADR ||
type == OUT_REL8ADR) {
switch (type) {