From: Robert R. Henry Date: Thu, 21 Aug 1980 01:05:05 +0000 (-0800) Subject: Round text and data segments to Double Word so that .align 3 always works X-Git-Tag: BSD-4^3~856 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/94357e8f42371f49ce03e1e4919c4d3ff665586a Round text and data segments to Double Word so that .align 3 always works SCCS-vsn: old/as.vax/asmain.c 4.7 --- 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