Marat Dukhan
29227125f0
coff: Better handling of section redefinition
...
Currently, if we try to define an already defined section and specify
section flags, NASM will output "warning: section attributes ignored
on redeclaration of section %SECTIONNAME%".
The patch modifies this behaviour:
1. If the previous section definition differs only in alignment flags,
no warning is generated
2. If the new definition implies larger alignment, it overrides the
previous section alignment
3. If the new definition specifies any section alignment, the content of
the section will be aligned on the new boundary (i.e. the effect is the
same as if there was ALIGN macro)
Signed-off-by: Marat Dukhan <maratek@gmail.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-10-03 16:55:50 +04:00
Cyrill Gorcunov
e81b2ee85c
strfunc: Tabs to spaces conversion
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-09-21 13:14:15 +04:00
Marat Dukhan
91c43d789a
coff: Support for section names longer than 8 bytes
...
http://bugzilla.nasm.us/show_bug.cgi?id=3392233
Signed-off-by: Marat Dukhan <maratek@gmail.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-09-21 13:09:03 +04:00
Cyrill Gorcunov
b775985bee
NASM 2.10.09
2013-07-23 09:36:13 +04:00
Cyrill Gorcunov
e74e494805
doc: changes -- Prepare for 2.10.09
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-07-23 09:36:00 +04:00
Cyrill Gorcunov
99427bdb6c
build: Include pregenerated nasm manpages
...
It's been reported that force people to install
asciidoc for man pages generation is not acceptible.
Just ship them pregenerated.
http://bugzilla.nasm.us/show_bug.cgi?id=3392262
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-07-22 10:09:35 +04:00
Cyrill Gorcunov
57a576ce1e
NASM 2.10.08
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-07-21 20:58:43 +04:00
Cyrill Gorcunov
85f734b6ab
doc: changes -- Add fixes for VMOVNTDQA, MOVNTDQA, MOVLPD
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-07-21 14:47:51 +04:00
Cyrill Gorcunov
340ac1a915
test: Add br978756
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-07-21 14:45:48 +04:00
Cyrill Gorcunov
31d73aefb3
test: Add br3392259
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-07-21 14:45:48 +04:00
Cyrill Gorcunov
b59346d496
insns: Fix MOVLPD
...
http://bugzilla.nasm.us/show_bug.cgi?id=978756
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-07-21 14:45:48 +04:00
Cyrill Gorcunov
7dff2f028a
insns: Fix MOVNTDQA instruction
...
http://bugzilla.nasm.us/show_bug.cgi?id=3392259
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-07-21 11:14:04 +04:00
Cyrill Gorcunov
d26ac53fe3
insns: Fix VMOVNTDQA instruction
...
http://bugzilla.nasm.us/show_bug.cgi?id=3392259
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-07-21 11:13:15 +04:00
Cyrill Gorcunov
82139da76e
changes.src: Prepare for 2.10.08
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-07-21 00:45:02 +04:00
H. Peter Anvin
e20ca02cfb
BR 3392260: Handle instructions only separated by vector SIB size
...
There are two instructions (VGATHERQPS, VPGATHERQD) where the only
separation between two forms is the vector length given to the vector
SIB. This means the *matcher* has to be able to distinguish
instructions by vector SIB length and the matcher only operates on the
operands and the instruction flags, not on the bytecode.
Export the vector index-ness into the operand flags and add to the
matcher.
This resolves BR 3392260.
Reported-by: Agner <agner@anger.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2013-07-19 17:09:39 -07:00
Cyrill Gorcunov
836492fbcf
parse_line: Shrink code with memset helper
...
We know that P_none = 0 thus instead of using
for() statement assign them all in one memset
call.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-07-16 01:33:09 +04:00
Cyrill Gorcunov
525ef26359
ea_type: Fix typo in comment
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-07-14 18:45:48 +04:00
Cyrill Gorcunov
ce074db7c2
autoconf: Warn a user if no asciidoc/xmlto found
...
It's been noticed on nasm forum that we don't complain
if no asciidoc/xmlto package installed on a system while
they are required for man pages generation.
So warn a user then, but still allow to build nasm.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-07-05 01:33:09 +04:00
Marat Dukhan
1052394ef6
make: Fix nasm build with MSVC
...
http://bugzilla.nasm.us/show_bug.cgi?id=3392258
Signed-off-by: Marat Dukhan <maratek@gmail.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-06-30 01:31:15 +04:00
MITSUNARI Shigeo
50a33b068b
insns: Fix vspllw instruction
...
http://bugzilla.nasm.us/show_bug.cgi?id=3392257
Signed-off-by: MITSUNARI Shigeo <herumi@nifty.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-06-30 01:27:24 +04:00
MITSUNARI Shigeo
93db8fc817
insns: Fix vgatherqpd instruction
...
Signed-off-by: MITSUNARI Shigeo <herumi@nifty.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-06-01 09:54:26 +04:00
MITSUNARI Shigeo
48129e5c8f
insns: Fix VPMOVSXBQ instruction
...
http://bugzilla.nasm.us/show_bug.cgi?id=3392254
Signed-off-by: MITSUNARI Shigeo <herumi@nifty.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-05-24 12:05:32 +04:00
H. Peter Anvin
a9397830f7
Make the errors for missing man page tools comprehensible
...
A lot of confusion was had due to missing asciidoc...
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2013-05-17 12:03:24 -07:00
Cyrill Gorcunov
29e2f74a58
test: Add br3392252 test
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-05-13 02:21:08 +04:00
Cyrill Gorcunov
b529149272
insns.dat: Add note about AMD TBM instructions
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-05-12 21:13:04 +04:00
Cyrill Gorcunov
016483fa87
insns.dat: Add BLCMSK
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-05-12 21:12:35 +04:00
Cyrill Gorcunov
2cbf52b08b
insns.dat: Add BLCS
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-05-12 21:12:01 +04:00
Cyrill Gorcunov
91cda55b28
insns.dat: Add BLSFILL
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-05-12 21:11:00 +04:00
Cyrill Gorcunov
856386b87c
insns.dat: Add BLCFILL
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-05-12 21:10:34 +04:00
Cyrill Gorcunov
921cf07221
insns.dat: Add BLCIC
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-05-12 21:09:42 +04:00
Cyrill Gorcunov
aeef0f38f9
insns.dat: Add BLCI
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-05-12 21:09:09 +04:00
Cyrill Gorcunov
0622f5a947
insns.dat: Add BLSIC
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-05-12 21:08:26 +04:00
Cyrill Gorcunov
cb8e493461
insns.dat: Add immediate form of BEXTR
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-05-12 21:07:07 +04:00
Cyrill Gorcunov
02b23d1d00
insns.dat: Add T1MSKC intstruction
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-05-12 21:06:26 +04:00
Cyrill Gorcunov
552dccbb22
insns.dat: Add TZMSK instruction
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-05-12 21:05:25 +04:00
Cyrill Gorcunov
b6b42e0611
insns.dat: Move TZCNT for alphabetical order
...
Other instructions in this section already sorted.
No func changes.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-05-12 21:04:41 +04:00
Cyrill Gorcunov
f0301980ab
Make .git-ignore directory to ignore by scm
...
To stash various code which a developer not
need to be tracked.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-05-10 13:27:02 +04:00
Cyrill Gorcunov
579f161d48
Add IF_TBM flag
...
For TMB instructions
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-05-10 13:24:15 +04:00
Cyrill Gorcunov
ce6527459f
BR3392253: Fix potential buffer overflow in number conversion
...
Reported-by: franck.uberto@esrf.fr
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-05-06 23:43:43 +04:00
Cyrill Gorcunov
1ac3459539
insns.dat: Udate year
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-05-04 02:24:38 +04:00
Cyrill Gorcunov
e3574117ed
br3392250: insns -- Allow byte size in PREFETCHTx instructions
...
The PREFETCHTx instructions do allow mem8 (byte).
Reported-by: Agner <agner@agner.org>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-05-04 02:24:05 +04:00
Cyrill Gorcunov
f470011751
BR3392244: docs -- Fix "respectively" typo
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-04-28 15:07:38 +04:00
Cyrill Gorcunov
deb082d633
BR3392248: Update nasm -h output
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-04-20 20:37:17 +04:00
Cyrill Gorcunov
895139cbd5
BR3392248: Update nasm manual
...
Add -W description
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-04-20 20:24:01 +04:00
Cyrill Gorcunov
567cc681a4
ndisasm: man -- Add missing -p option
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-04-20 20:18:46 +04:00
Cyrill Gorcunov
24543963b4
BR3392248: Update ndisasm man
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-04-20 20:14:45 +04:00
Cyrill Gorcunov
4de8f4efb7
BR3392248: Update ndisasm man
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-04-20 20:13:51 +04:00
Cyrill Gorcunov
9563d09da6
BR3392248: Update nasm manual
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-04-20 20:10:15 +04:00
Philipp Kloke
c7b53ffe1f
Fixed two more resource leaks in rdoff/rdlib.c
...
Signed-off-by: Philipp Kloke <philipp.kloke@web.de>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-04-01 02:17:46 +04:00
Philipp Kloke
efe66c65d1
Fixed three possible buffer overflows
...
Bug found by: CppCheck 1.59 (static source analysis tool)
Signed-off-by: Philipp Kloke <philipp.kloke@web.de>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2013-04-01 02:16:58 +04:00