Age | Commit message (Collapse) | Author | Files | Lines |
|
bnd and nobnd prifixes can be used for each instruction line to
direct whether bnd registers should be preserved or not.
And those are also added as options for DEFAULT directive.
Once bnd is set with default, DEFAULT BND, all bnd-prefix
available instructions are prefixed with bnd. To override it,
nobnd prefix can be used.
In the other way, DEFAULT NOBND can disable DEFAULT BND and
have nasm encode in the normal way.
Signed-off-by: Jin Kyu Song <jin.kyu.song@intel.com>
|
|
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>
|
|
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
|
|
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>
|
|
"sectalign" is preferred over "segalign"
since it operates over section attributes.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
|
|
No real handling yet though. Definition only.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
|
|
*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>
|
|
These are definitely overly restrictive, need auditing to pare them
down to proper BSD licensing.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
Add an optional second argument to struc, document it and test it.
Also removed trailing whitespace in nasmdoc.src in the process.
|
|
|
|
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>
|
|
Replace "alignb" with the (slightly more optimized) "alignr" macro,
but keep the name "alignb".
|
|
Add an "alignr" standard macro, for use in BSS (nobits) and absolute
segments.
|
|
Allow aligning to a non-power-of-2 boundary. It's probably useless,
but doesn't really hurt.
|
|
Use anonymous %push instead of giving a context name.
|
|
Use the macro name itself as the context name, this is consistent with
other standard macros.
|
|
|
|
|
|
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.
|
|
|
|
New directive [FLOAT] with associated standard macros; allows the
setting to be saved and restored.
|
|
|
|
|
|
Introduce new standard __NASM_SUBMINOR__ and __NASM_VER__ macros.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|