summaryrefslogtreecommitdiff
path: root/standard.mac
Commit message (Collapse)AuthorAgeFilesLines
* sectalign: Implement on/off modeCyrill Gorcunov2010-08-121-1/+12
| | | | | | | | And describe it in documentation. We've introduced sectalign in 2.09rc series and have to provide an ability to steer this feature. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* standart.mac: Style nitfixCyrill Gorcunov2010-08-121-75/+84
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* standard.mac: Update section alignment on align callCyrill Gorcunov2010-04-211-0/+2
| | | | | | | | Achieved via sectalign call. Note that not all output targets (ie formats) may handle sectalign yet, most of them just ignore this entity. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* Rename SEGALIGN to SECTALIGNCyrill Gorcunov2010-04-211-3/+2
| | | | | | | "sectalign" is preferred over "segalign" since it operates over section attributes. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* Introduce SEGALIGN directiveCyrill Gorcunov2010-04-211-0/+4
| | | | | | No real handling yet though. Definition only. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* NASM: relicense under the 2-clause BSD licenseH. Peter Anvin2009-07-061-12/+0
| | | | | | | | *To the best of my knowledge*, we now have authorization from everyone who has significantly contributed to NASM in the past. As such, change the license to the 2-clause BSD license. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Add copyright headers to macro filesH. Peter Anvin2009-06-281-0/+45
| | | | | | | These are definitely overly restrictive, need auditing to pare them down to proper BSD licensing. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* FR 2499968: structures with non-zero base offsetVictor van den Elzen2009-03-271-5/+5
| | | | | Add an optional second argument to struc, document it and test it. Also removed trailing whitespace in nasmdoc.src in the process.
* Already aligned aligns should be 0 bytes, not %1.Victor van den Elzen2008-10-011-3/+3
|
* Actually make non-power-of-2 alignments workH. Peter Anvin2008-09-251-3/+3
| | | | | | | We can't use ($$-$) % (%1) since the wraparound will be wrong except for powers of 2. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Err, "alignr" was really the same as the previous "alignb"H. Peter Anvin2008-07-201-4/+1
| | | | | Replace "alignb" with the (slightly more optimized) "alignr" macro, but keep the name "alignb".
* Add "alignr" standard macro (using resb)H. Peter Anvin2008-07-201-0/+7
| | | | | Add an "alignr" standard macro, for use in BSS (nobits) and absolute segments.
* standard.mac: allow non-power-of-2 alignmentsH. Peter Anvin2008-07-161-2/+2
| | | | | Allow aligning to a non-power-of-2 boundary. It's probably useless, but doesn't really hurt.
* standard.mac: use anonymous contextsH. Peter Anvin2008-07-021-3/+3
| | | | Use anonymous %push instead of giving a context name.
* incbin: use the macro name itself as context nameH. Peter Anvin2008-05-301-1/+1
| | | | | Use the macro name itself as the context name, this is consistent with other standard macros.
* Add missing %rotate directive to the FLOAT macro.H. Peter Anvin2008-05-301-0/+1
|
* incbin definition: use %?H. Peter Anvin2008-05-301-1/+1
|
* Introduce %depend and %pathsearch, and make incbin a macroH. Peter Anvin2008-05-301-0/+8
| | | | | | Introduce new preprocessor directives %depend and %pathsearch, and make incbin a standard macro using these filenames. This lets us remove the code that makes incbin search the path.
* Comma-separate contents of __FLOAT__H. Peter Anvin2007-10-161-1/+1
|
* Implement floating-point option control directiveH. Peter Anvin2007-10-161-0/+27
| | | | | New directive [FLOAT] with associated standard macros; allows the setting to be saved and restored.
* Add standard macro for [default] directiveH. Peter Anvin2007-08-291-1/+3
|
* General push for x86-64 support, dubbed 0.99.00.Keith Kanios2007-04-121-1/+5
|
* Make all version information come from the single file "version".H. Peter Anvin2002-05-041-4/+4
| | | | Introduce new standard __NASM_SUBMINOR__ and __NASM_VER__ macros.
* NASM 0.98.09nasm-0.98.09H. Peter Anvin2002-04-301-10/+12
|
* NASM 0.98.08nasm-0.98.08H. Peter Anvin2002-04-301-0/+10
|
* NASM 0.98.03nasm-0.98.03H. Peter Anvin2002-04-301-0/+12
|
* NASM 0.98p3.2nasm-0.98p3.2H. Peter Anvin2002-04-301-2/+2
|
* NASM 0.97nasm-0.97fork-0.98-jH. Peter Anvin2002-04-301-2/+2
|
* NASM 0.96nasm-0.96H. Peter Anvin2002-04-301-21/+30
|
* NASM 0.95nasm-0.95H. Peter Anvin2002-04-301-0/+77