summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* doc: swap 'hyphen' and 'minus' in PostScript definitionH. Peter Anvin (Intel)2020-07-021-2/+2
| | | | | | | | | | | | It appears that at least with the Adobe Source fonts: 'hyphen' -> U+002D (ASCII) 'minus' -> U+2212 This is ugly for cut & paste purposes. Reported-by: C. Masloch <pushbx@ulukai.org> Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* changes.src: fixed Mkfiles/msvc.makH. Peter Anvin (Intel)2020-07-011-0/+2
| | | | Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* doc: index cleanupsH. Peter Anvin (Intel)2020-06-301-107/+117
| | | | Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* doc: document(!) documentation build requirementsH. Peter Anvin (Intel)2020-06-301-2/+11
| | | | | | The tools we need to build the documentation. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* doc: slight cleanup of MASM compatibility package informationH. Peter Anvin (Intel)2020-06-301-5/+9
| | | | | | | Note that the extended DB syntax is also available, regardless of if %use masm is used or not. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* changes.src: document %{:} macro parameter range fixH. Peter Anvin (Intel)2020-06-301-0/+3
| | | | Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* changes.src: update changes for 2.15.02 (so far)H. Peter Anvin (Intel)2020-06-301-0/+8
| | | | | | Begin the release note list for 2.15.02. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* doc: incbin: no need to mention an ancient Amiga assemblerH. Peter Anvin (Intel)2020-06-301-5/+4
| | | | | | | | There is no reason to mention an ancient Amiga assembler as the source for INCBIN, especially since it is supported by quite a few other assemblers. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* nasmdoc.css: use a relative size for code/preH. Peter Anvin (Intel)2020-06-271-1/+1
| | | | | | | Use a percentage size modifier for code/pre, which hopefully should allow it to respect enclosing size modifications (for headings.) Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* nasmdoc.css: use a smaller font size for code textH. Peter Anvin (Intel)2020-06-271-0/+1
| | | | | | Use a smaller font size for code text, just as for ps/pdf. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* doc: actually *use* the smaller code font size...H. Peter Anvin (Intel)2020-06-272-6/+6
| | | | | | Helps to actually use what is intended. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* doc: for ps/pdf, use a smaller font for codeH. Peter Anvin (Intel)2020-06-271-13/+34
| | | | | | | The text looks better using a smaller font for both inline code and code paragraphs. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* doc: some more cleanups and detailed specificationsH. Peter Anvin (Intel)2020-06-271-10/+19
| | | | | | Some more mostly editorial changes. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* doc: editorial cleanupsH. Peter Anvin (Intel)2020-06-271-15/+37
| | | | | | | Clean up the language of a few sections, add a few examples, and better document %pragma limit. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* changes.src: update for 2.15.01H. Peter Anvin (Intel)2020-06-271-0/+9
| | | | Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* doc: document operator and Dx changesH. Peter Anvin (Intel)2020-06-252-43/+168
| | | | | | | Document new operators, removal of special casing for %if, and the MASM-like enhancements to the Dx directives. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* doc: various documentation updatesH. Peter Anvin (Intel)2020-06-142-106/+265
|
* Makefile portability improvement, build nasmdoc.pdf.xzH. Peter Anvin (Intel)2020-05-262-13/+44
| | | | | | | | Significantly improve the portability/reliability of a general make command. Build a .pdf.xz version of the documentation, using an uncompressed pdf as basis. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* doc: Update for upcoming 2.15 releasenasm-2.15.xx-preAndrey Matyukov2020-05-063-23/+206
| | | | | | | Update release notes and documentation for 2.15 Signed-off-by: Andrey Matyukov <andrey.matyukov@intel.com> Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com>
* doc: we really need a Fontmap fileH. Peter Anvin2019-10-043-25/+46
| | | | | | | | | | | | | | | | | It turns out that we need a Fontmap file after all, *and* -I. to make gs find it. Inconsistent results came from stray Fontmap files from previous debug attempts. Now generate both fontpath and Fontmap, and hopefully at least one of them should work. We might, in fact, need both, one for gs to know where the files are and one for gs to know it is allowed to read them. The core problem seems to be that gs will find OTF fonts by its normal discovery mechanisms, but for some reason don't seem to use them unless it can find them in a Fontmap, Font directory, of CIDFont directory. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Correct __ALIGN_ -> __?ALIGN_H. Peter Anvin2019-08-271-2/+2
| | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* preproc: standard macros now C-safe, %aliases off, fix %? recursionH. Peter Anvin2019-08-271-90/+90
| | | | | | | | | | | | | | | | | | | | Enough users expect the namespace starting with underscore to be safe for symbols. Change our private namespace from __foo__ to __?foo?__. Use %defalias to provide backwards compatiblity (by using %defalias instead of %define, we handle the case properly where the user changes the value.) Add a preprocessor directive: %aliases off ... to disable all smacro aliases and thereby making the namespace clean. Finally, fix infinite recursion when seeing %? or %?? due to paste_tokens(). If we don't paste anything, the expansion is done. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* doc: actually build and propagate fontpath fileH. Peter Anvin (Intel)2019-08-061-4/+7
| | | | | | | The machinery was built in, but the option wasn't invoked from the Makefile. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* doc: fix yet another set of Ghostscript font problemsH. Peter Anvin2019-06-063-4/+43
| | | | | | | | Seems like Ghostscript has managed to break fontconfig support again, at least in Fedora 30. Help Ghostscript along by giving it an explicit font path. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* outelf: get rid of long-since-obsolete gnu extensions warningH. Peter Anvin2019-06-061-10/+9
| | | | | | | R_386_[PC]{8,16} have been part of the official ELF32 spec for a very long time now. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Merge branch 'evalmacro'H. Peter Anvin (Intel)2019-04-242-46/+98
|\ | | | | | | | | | | | | | | | | | | | | Resolved Conflicts: asm/preproc.c output/elf.h output/outelf.c output/outelf.h version Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
| * ELF: the .note section should be 4-byte alignedH. Peter Anvin2019-02-261-1/+1
| | | | | | | | | | | | | | The ELF .note section contains of 4-byte words and should be aligned accordingly. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Handle more ELF section typesH. Peter Anvin2019-02-262-56/+80
| | | | | | | | | | | | | | note, preinit_array, init_array, and fini_array are ELF section types that can matter to the assembly programmer. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * ELF: handle more than 32,633 sectionsH. Peter Anvin2019-02-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dead code elimination in ELF uses separate ELF sections for every functions or data items that may be garbage collected. This can end up being more than 32,633 sections which, when the ELF internal and relocation sections are added in, can exceed the legacy ELF maximum of 65,279 sections. Newer versions of the ELF specification has added support for much larger number of sections by putting a place holder value (usually SHN_XINDEX == 0xffff, but 0 in some cases) into fields where the section index is a 16-bit value, and storing the full value in a diffent place: the program header uses entries in section header 0, the symbol table uses an auxiliary segment with the additional indicies; the section header did not need it as the sh_link field is already 32 (or 64) bits long. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * ELF: add support for the ELF "merge" attributeH. Peter Anvin2018-12-302-1/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | Add support for the "merge" attribute in ELF, along with the associated "strings" and size specifier attributes. Fix a few places where we used "int", but a larger type really ought to have been used. Be a bit more lax about respecifying attributes. For example, align= can be respecified; the highest resulting value is used. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | warnings: add [warning push] and [warning pop]H. Peter Anvin (Intel)2019-01-112-0/+10
| | | | | | | | | | | | Add [warning push] and [warning pop] directives. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* | Merge tag 'nasm-2.14.03rc1'H. Peter Anvin2018-12-271-0/+5
|\ \ | |/ | | | | | | | | | | | | | | | | NASM 2.14.03rc1 Resolved Conflicts: asm/labels.c include/error.h Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * changes.src: document suppressed messagesH. Peter Anvin2018-12-271-0/+5
| | | | | | | | | | | | Document the suppression of error messages from "label changed". Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | Merge tag 'nasm-2.14.02'H. Peter Anvin2018-12-261-0/+5
|\ \ | |/ | | | | | | | | | | NASM 2.14.02 Resolved Conflicts: asm/listing.c
| * changes.src: document fix for listing module crashH. Peter Anvin2018-12-261-0/+5
| | | | | | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | Merge tag 'nasm-2.14.01rc5'H. Peter Anvin (Intel)2018-12-142-17/+27
|\ \ | |/ | | | | | | | | | | | | | | NASM 2.14.01rc5 Resolved Conflicts: asm/labels.c asm/nasm.c version
| * Document the -Ov option, minor fix for gcc -OgH. Peter Anvin (Intel)2018-12-141-1/+6
| | | | | | | | | | | | | | | | | | The -Ov option is useful but was undocumented. Add an initialization to keep gcc from complaining at optimization level -Og. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
| * --no-line: new option to ignore %line directivesH. Peter Anvin (Intel)2018-12-142-16/+21
| | | | | | | | | | | | | | For debugging preprocessed code, it is useful to be able to ignore %line directives rather than having to filter them out externally. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* | 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>