X-Authentication-Warning: kendall.sfbr.org: jeffw set sender to jeffw AT darwin DOT sfbr DOT org using -f Date: Wed, 31 Jan 2001 07:45:29 -0600 From: JT Williams To: djgpp-workers AT delorie DOT com Subject: djasm patch #5 Message-ID: <20010131074529.A2428@kendall.sfbr.org> Mail-Followup-To: djgpp-workers AT delorie DOT com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Reply-To: djgpp-workers AT delorie DOT com Ok ? -- jtw Index: wc204.txi =================================================================== RCS file: /cvs/djgpp/djgpp/src/docs/kb/wc204.txi,v retrieving revision 1.44 diff -p -3 -r1.44 wc204.txi *** wc204.txi 2001/01/31 13:26:06 1.44 --- wc204.txi 2001/01/31 13:29:48 *************** format. *** 240,242 **** --- 240,247 ---- @pindex djasm AT r{, new executable header offset} @code{djasm} now sets the offset of new executable field in the header of executables to zero (meaning not used). + + @pindex djasm AT r{, space allocation with .union} + Allow one to allocate space in @code{djasm} using @code{.union} + (instead of @code{.struct}) when using a union. As there is no + checking, @code{.struct} and @code{.union} are interchangable. Index: djasm.y =================================================================== RCS file: /cvs/djgpp/djgpp/src/stub/djasm.y,v retrieving revision 1.6 diff -p -3 -r1.6 djasm.y *** djasm.y 2001/01/04 18:44:04 1.6 --- djasm.y 2001/01/31 13:39:19 *************** int is_structure(Symbol *s) *** 1654,1663 **** int set_structure_symbols(Symbol *ele, Symbol *struc, int tp, int base, int type) { - if (tp!='s') { - djerror("must use `.struct' to emit structures or unions"); - return 0; - } if (!struc->defined) { djerror("undefined symbol used in struct"); return 0; --- 1654,1659 ----