aboutsummaryrefslogtreecommitdiffstats
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* warnings: define warning classes at point of usemkwarningsH. Peter Anvin (Intel)2018-12-132-77/+2
| | | | | | | | | | | | It is extremely desirable to allow the user fine-grained control of warnings, but this has been complicated by the fact that a warning class has had to be defined in no less than three places (error.h, error.c, nasmdoc.src) before it can be used in source code. Instead, use a script to define these via magic comments at the point of use. This hopefully will encourage creating new classes as needed. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* changes.src: update list of changes since 2.14H. Peter Anvin2018-12-101-0/+6
|
* nasm: fix the combination -E -MD, handle -MD without a filenameH. Peter Anvin2018-11-282-0/+15
| | | | | | | | -E -MD should work and output a dependency file. -MD can be used without a filename; there is a default filename or -\c{-MF} can be used. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* changes.src: fp bug: there are probably other corner casesH. Peter Anvin2018-11-281-4/+3
| | | | | | | | There are probably other corner cases where we could at the very least produce an incorrectly rounded result, so be a bit more cagey about the description of the bug. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* BR 3392368: actually fix the documentation; add test caseH. Peter Anvin2018-11-261-5/+5
| | | | | | Add a mimimal test case for this bug; correct the documentation. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Correctly document the BR 3392368 fix, add test caseH. Peter Anvin2018-11-261-3/+4
| | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* changes.src: document more fixesH. Peter Anvin2018-11-261-0/+9
| | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* preproc: command-line preproc directive after system-generatedH. Peter Anvin2018-11-112-4/+23
| | | | | | | | | | | | | | | | | | BR 3392527: make sure that all command-line specified preprocessing directives are processed after the system-generated ones. In particular __OUTPUT_FORMAT__ was generated after command line pass 2, at which point -p, -d, -u, --pragma and --before had already been processed. There is no reason to split up defined_macros() anymore: the right place to execute it is simply between command line passes 1 and 2. We can also set dfmt here, which lets us define a __DEBUG_FORMAT__ macro as well. Finally move some options that have no business being processed in pass 2 to pass 1. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* nasmdoc.src: fix compound wordH. Peter Anvin (Intel)2018-11-071-2/+2
|
* doc: Add a description for a useful case of mangling symbolsChang S. Bae2018-10-301-3/+15
| | | | Signed-off-by: Chang S. Bae <changseok.bae@gmail.com>
* doc: Clarify %include search directory semanticsCyrill Gorcunov2018-10-262-11/+7
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* doc: Update changesCyrill Gorcunov2018-10-211-0/+2
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* doc: Update changesCyrill Gorcunov2018-10-141-0/+4
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* doc: Update changesCyrill Gorcunov2018-10-131-0/+2
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* doc: Update changesCyrill Gorcunov2018-10-131-0/+2
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* pspdf.pl: GhostScript font integration seems broken with -dSAFERH. Peter Anvin2018-09-241-5/+25
| | | | | | | | | -dSAFER seems to break font integration on some systems. Furthermore, once given -dSAFER seems to not be possible to override, so instead of calling via the ps2pdf script, call GhostScript explicitly with the equivalent options, sans -dSAFER. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* doc: changes -- Add a few more bulletsCyrill Gorcunov2018-09-231-0/+6
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* doc: Fix macho section name for codeChang S. Bae2018-08-241-1/+1
| | | | | | | | While today's manual lists "text" as the code section name, "code" has been effectively named from d1da074. Reported-by: <zenith432@users.sourceforge.net> Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com>
* optimization: Introduce new flag to turn-off selectivelyChang S. Bae2018-08-161-2/+4
| | | | | | | | | | | | While configuring optimization in a level is conventional, a certain optimization tends to conflict with some pragma. For example, jump match conflicts with Mach-O's "subsections-via-symbols" macro. This configurability will workaround such conflicts. Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com>
* doc/rdsrc.pl: fix unescaped braceH. Peter Anvin (Intel)2018-06-251-2/+2
| | | | | | | | The latest version of Perl complains about an unescaped brace in a regexp and states that it will be a fatal error in Perl 5.30. Fix it now before it becomes a problem. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* doc: add a few more updatesH. Peter Anvin (Intel)2018-06-252-22/+22
| | | | | | In particular, document the new behavior of EXTERN, GLOBAL and COMMON. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* changes.src: cleanup and fixesH. Peter Anvin (Intel)2018-06-251-15/+17
| | | | | | | Clean up the language somewhat, and fix a couple of confusing statements. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* doc: 2.14 change logChang S. Bae2018-06-252-1/+48
| | | | | Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com> Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* doc: document new feature from version 2.14Chang S. Bae2018-06-251-6/+139
| | | | | | | | | Added descriptions about new commandline options, STATIC directive, symbol mingling, and some output format specifics. Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com> Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* Merge remote-tracking branch 'origin/nasm-2.13.xx'H. Peter Anvin2018-02-201-0/+6
|\ | | | | | | | | | | | | Resolved Conflicts: version Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * insns.dat: add aliases of the RET instruction with explicit operand sizeH. Peter Anvin2018-02-141-0/+6
| | | | | | | | | | | | | | Make it possible to generate variants of RET(F) with explicit operand size specified without having to use o16/o32/o64. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | Merge tag 'nasm-2.13.03'H. Peter Anvin2018-02-072-9/+40
|\| | | | | | | | | | | | | | | | | | | | | NASM 2.13.03 Resolved Conflicts: include/iflag.h version x86/insns-iflags.ph Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * doc: some more documentation on 64-bit programmingH. Peter Anvin2018-02-071-7/+14
| | | | | | | | | | | | Some more information about 64-bit programming and its quirks. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * doc: clarify need for ABS QWORD to do a 64-bit absolute loadH. Peter Anvin2018-02-071-1/+1
| | | | | | | | | | | | | | | | The rarely used 64-bit absolute load instruction (what gas calls movabsq) needs to be declared ABS if we are in relative mode, which is normally the case. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * doc: add a bit more text about 64-bit immediates and pointersH. Peter Anvin2018-02-071-1/+19
| | | | | | | | | | | | | | | | There are some gotchas in how immediates and pointers are loaded in 64-bit mode and how they interact with optimization. Document those cases. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * doc/changes.src: add missing blank line between bullet pointsH. Peter Anvin2018-02-071-0/+1
| | | | | | | | | | | | | | Bullet points are considered paragraphs, so our documentation compiler require an empty line between them. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * changes.doc: document dwarf issueCyrill Gorcunov2018-02-051-0/+1
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
| * changes.doc: document VAES* and VPCLMULQDQH. Peter Anvin2018-01-081-0/+4
| | | | | | | | | | | | Document new instruction support. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | Merge tag 'nasm-2.13.02'H. Peter Anvin2017-11-292-1/+27
|\| | | | | | | | | | | | | | | | | NASM 2.13.02 Resolved Conflicts: version Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * doc: clean up 2.13.02 release notes, document MachO debug optionH. Peter Anvin2017-11-292-19/+8
| | | | | | | | | | | | | | | | Clean up the 2.13.02 release notes: we don't need to list every single subcase where we would crash, as it is not really relevant to the user. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * doc: clarify the BITS issue for 2.13.02.H. Peter Anvin2017-11-291-1/+2
| | | | | | | | Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * docs: changes -- Drop leftoverCyrill Gorcunov2017-11-251-1/+1
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
| * doc: Update changes for 2.13.02Cyrill Gorcunov2017-11-251-0/+36
| | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* | Make dependency generation a bit more robustH. Peter Anvin2017-11-061-0/+1
| | | | | | | | | | | | | | Improve the corner cases where we might end up with bogus dependencies. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | Merge remote-tracking branch 'origin/nasm-2.13.xx'H. Peter Anvin2017-08-163-4/+42
|\| | | | | | | | | | | | | | | | | Resolved Conflicts: asm/directiv.dat asm/preproc.c misc/omfdump.c Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * doc: update for upcoming 2.13.02 releaseH. Peter Anvin2017-08-162-1/+25
| | | | | | | | | | | | Update release notes and documentation for 2.13.02. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * nasm: when using -MW, enclose whitespace in double quotesH. Peter Anvin2017-08-161-1/+2
| | | | | | | | | | | | | | | | When using the -MW option, enclose whitespace-containing filenames in double quotes. There are probably quite a few other things we ought to know how to do... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * nasmdoc: the dbg output format is compiled in by defaultH. Peter Anvin2017-08-161-3/+2
| | | | | | | | | | | | These days, the dbg output format is compiled in by default, too. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * nasm: new option -MW to emit Watcom-style Makefile rulesH. Peter Anvin2017-08-162-0/+14
| | | | | | | | | | | | | | Allow NASM to generate Watcom-style Makefile dependencies, in addition to the default POSIX-style Makefile dependencies. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * doc/rdsrc: don't treat \# as a comment marker if preceeded by \H. Peter Anvin2017-08-161-1/+1
| | | | | | | | | | | | | | We need to be able to let \\# represent a literal \#, rather than be \ followed by a comment. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | Make buildsystem respect GNU conventionsDavid Seifert2017-07-061-5/+8
|/ | | | | | | | | | | | | | | | | | | | | | * CPPFLAGS is a user variable and should be respected when compiling .c files. Think of -D_FORTIFY_SOURCE=2. * Pass ALL_CFLAGS when linking too. This is recommended for certain edge cases (-flto) * Use DESTDIR instead of INSTALLROOT for staging dir Every other build system (Automake, CMake, Meson) uses DESTDIR. This integrates better into distro and other build systems that have standard hooks for DESTDIR. * $(MAKE) -C <dir> is better than cd'ing into a <dir> * Use Autoconf's ${docdir} and ${htmldir} for installing the documentation. This makes handling documentation easier and respects user choice. Signed-off-by: David Seifert <soap@gentoo.org> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* nasmdoc.css: add more space between columns and a column separatorH. Peter Anvin2017-05-021-0/+10
| | | | | | | The columns were rather crammed together; add more space around them and add a column separator bar. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Document/update dependencies for the documentationH. Peter Anvin2017-05-021-0/+20
| | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* doc/changes.src: update with the latest changesH. Peter Anvin2017-05-011-0/+5
| | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* doc/changes.src: document the changes to the 2.13 maint branch so farH. Peter Anvin2017-05-011-0/+9
| | | | | | Current changes scheduled for 2.13.01. Signed-off-by: H. Peter Anvin <hpa@zytor.com>