From 94357e8f42371f49ce03e1e4919c4d3ff665586a Mon Sep 17 00:00:00 2001 From: "Robert R. Henry" Date: Wed, 20 Aug 1980 17:05:05 -0800 Subject: [PATCH] Round text and data segments to Double Word so that .align 3 always works SCCS-vsn: old/as.vax/asmain.c 4.7 --- usr/src/old/as.vax/asmain.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/usr/src/old/as.vax/asmain.c b/usr/src/old/as.vax/asmain.c index 548a491ee7..ef9c83e282 100644 --- a/usr/src/old/as.vax/asmain.c +++ b/usr/src/old/as.vax/asmain.c @@ -1,5 +1,5 @@ /* Copyright (c) 1980 Regents of the University of California */ -static char sccsid[] = "@(#)asmain.c 4.6 %G%"; +static char sccsid[] = "@(#)asmain.c 4.7 %G%"; #include #include #include @@ -10,7 +10,7 @@ static char sccsid[] = "@(#)asmain.c 4.6 %G%"; #include "asscan.h" #ifdef UNIX -#define unix_lang_name "VAX/UNIX Assembler V%G% 4.6" +#define unix_lang_name "VAX/UNIX Assembler V%G% 4.7" #endif #ifdef VMS @@ -190,14 +190,14 @@ main(argc, argv) if (anyerrs) delexit(); open_a_out(); /* open a.out */ - roundsegments(); /* round segments to FW */ + roundsegments(); /* round segments to DW */ build_hdr(); /* build initial header, and output */ i_pass2(); /* reopen temporary file, etc */ pass2(); /* second pass through the virtual .s */ if (anyerrs) delexit(); - fillsegments(); /* fill segments with 0 to FW */ + fillsegments(); /* fill segments with 0 to DW */ reloc_syms(); /* dump relocation and symbol table */ delete(); /* remove tmp file */ @@ -438,7 +438,7 @@ roundsegments() */ tsize = 0; for (locindex=0; locindex