aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-08-27Regenerate man pages.Peter Johnson
2011-08-27macho: Support N_PEXT bit.Peter Johnson
Can be enabled via use of "private_extern" in NASM syntax. Patch by: Hironori Bono [#215 state:resolved]
2011-08-27Generate version number information from git history.Peter Johnson
Due to the svn import structure, a special case is currently implemented to look for the 1.1.0 branchpoint instead of the most recent tag on the master branch. This will be removed after the first release is tagged on the master branch in git. Specific details: autogen.sh: More aggressively clean autoconf cache. This is needed to ensure the version number is actually regenerated. Don't generate PACKAGE_PATCHLEVEL or PACKAGE_BUILD variables. The genversion program now parses PACKAGE_VERSION directly. For Mkfiles builds, YASM-VERSION.h is generated and included by the custom config.h. This avoids the need to edit config.h for versioning.
2011-08-27Add .gitignore files.Peter Johnson
These are based on the old svn:ignore properties.
2011-08-19Remove $Id$ and RCSID() usage.Peter Johnson
These are useless now that we're using git.
2011-08-19Fix const warning in elf_machine_ssym usage.Peter Johnson
Reported by: Pierre Muller [#237 state:resolved]
2011-08-19win64-except.c: Fix incorrect dereference.Peter Johnson
Reported by: Pierre Muller [#236 state:resolved]
2011-08-19file.h: Separate conditional inclusion of direct.h.Peter Johnson
This fixes builds on mingw64. Reported by: Pierre Muller [#235 state:resolved]
2011-07-11dwarf: Fix uninitialized structure member.Peter Johnson
dwarf2_loc.discriminator wasn't being initialized by dwarf2_generate_line_section, leading to incorrect output, including intermittent test failures in gen64/dwarf64_pathname.
2011-07-10expr_simplify_identity: Pass int_term via pointer.Peter Johnson
This allows signaling to the caller (expr_level_op) that the int_term was destroyed. Without this, the new expr-simplify-identity testcase has a use-after-free. [#232 state:resolved]
2011-07-04Fix VGATHER/VPGATHER memory sizes.Peter Johnson
These now match the memory fetch sizes in the AVX reference. Reported by: nasm64developer
2011-07-03Add AVX2 VGATHER* and VPGATHER* instructions.Peter Johnson
These instructions use "VSIB" encoding, which takes the place of the usual SIB encoding. Several tests cover various legal and illegal modes. Last part of [#227 state:resolved].
2011-07-03Add most Intel AVX2 instructions.Peter Johnson
Reference: http://www.intel.com/software/avx rev11 spec This is all AVX2 instructions except for VGATHER*/VPGATHER*, which require additional ModRM handling. Portions contributed by: Mark Charney <mark.charney@intel.com> Part of [#227].
2011-07-03pmovmskb/vpmovmskb: default operand size is 64 bits.Peter Johnson
2011-07-03Add Intel BMI1, BMI2, INVPCID, LZCNT instructions.Peter Johnson
Reference: http://www.intel.com/software/avx rev11 spec Also add appropriate CPU bits and directive handling for these. Currently we have no good way of handling an "or" of instruction bits (in this case needed for LZCNT, where it's either AMD or LZCNT). For now, make it LZCNT only. Contributed by: Mark Charney <mark.charney@intel.com> Part of [#227].
2011-07-02x86/gas: Fix no-suffix push and pop.Peter Johnson
Previously plain "push" and "pop" would always generate a 16-bit pop (for effective address versions). Reported by: Alexei Svitkine [#212 state:resolved]
2011-07-02Add test for 64-bit shr/shl.Peter Johnson
2011-06-27Allow 64-bit LFS/LGS/LSS.Peter Johnson
[#229 state:resolved]
2011-06-25Fix "times" relocation handling.Peter Johnson
Previously a line such as "times 4 mov rax, [rel foobar]" would result in incorrect relocations being generated. Patch by: bird-yasm@anduin.net [#211 state:resolved]
2011-06-25Fix cython.m4 for beta versions of Cython.Peter Johnson
[#204 state:resolved]
2011-06-25Fix build with recent Cython.Peter Johnson
[#216 state:resolved]
2011-06-20Fix #263: Add quotes to yasm.rules switches.Peter Johnson
2011-05-29Fix escaping at end of gas string constant.Peter Johnson
Patch by: Daniel Diaz <Daniel.Diaz@univ-paris1.fr>
2011-05-29Fix lar and lsl second operand size.Peter Johnson
Also support 32-bit second operand for extra compatibility against ISA documentation, although only the low 16 bits are used. Fixes #261.
2011-05-29frontends/yasm/yasm.xml: Use GNU layout and put --help option to the endJari Aalto
Signed-off-by: Jari Aalto <jari.aalto@cante.net> Signed-off-by: Peter Johnson <peter@tortall.net>
2011-03-20Fix test failure due to build environment.Peter Johnson
When YASM_TEST_SUITE environment is defined, force version to "yasm HEAD" and all yasm__getcwd() calls to return "./".
2011-01-291. Tidy up VS 2010 buildBrian Gladman
2. Set correct VS tool path on win32 systems svn path=/trunk/yasm/; revision=2368
2010-09-06Fix #223: Correctly handle "./" paths in dwarf2.Peter Johnson
As dwarf2 has a directory table in addition to a filename table, we split the provided pathname when generating the filename table. This correctly combined both "./foo" and "foo" into a single filename table entry. However, we were only matching on pathname instead of dir+filename when actually generating the dwarf opcodes, resulting in not finding the "./foo" version. Fix to check both dir and filename separately, splitting the same way we do when generating the filename table. svn path=/trunk/yasm/; revision=2367
2010-08-21Improve gas syntax .set directive to better match GNU as behavior.Peter Johnson
- Add support for deferred symbols (those which depend on other symbols that have not yet been .set) - Add support for re-defining symbols - Add support for 0x hex notation in literals Contributed by: Alexei Svitkine <alexei.svitkine@gmail.com> svn path=/trunk/yasm/; revision=2366
2010-08-18coff: Add support for gas .secrel32 directive.Peter Johnson
svn path=/trunk/yasm/; revision=2365
2010-08-18Implement yasm_value_finalize_expr() using yasm_value_finalize().Peter Johnson
Previously this was implemented the opposite way, contrary to its documentation. This resulted in clearing any already set yasm_value relative fields. svn path=/trunk/yasm/; revision=2364
2010-08-18Add prototype for yasm_dv_get_value().Peter Johnson
svn path=/trunk/yasm/; revision=2363
2010-08-18Add yasm_dv_get_value() to get yasm_value from yasm_dataval.Peter Johnson
svn path=/trunk/yasm/; revision=2362
2010-08-17coff dir_def(): Use symtab_use() instead of symtab_get().Peter Johnson
svn path=/trunk/yasm/; revision=2361
2010-08-17coff/win32/win64: Add support for .def, .scl, .type, and .endef directives.Peter Johnson
These can be used to set a specific value for the coff sclass and type symbol fields. svn path=/trunk/yasm/; revision=2360
2010-08-16dwarf2: Add support for .loc "discriminator" option.Peter Johnson
svn path=/trunk/yasm/; revision=2359
2010-08-14gas: Fix movsw/movzw memory operand encodings.Peter Johnson
The register versions worked okay due to size matching, but the memory versions relied on suffix matching, which wasn't being generated correctly. Reported by: Tony Goelz <cag@absoft.com> svn path=/trunk/yasm/; revision=2358
2010-08-06Bump trunk internal version to 1.1.99.Peter Johnson
svn path=/trunk/yasm/; revision=2351
2010-08-01Fix #213: Fix gas-preproc misuse of strcpy() and uninitialized variables.Peter Johnson
- strcpy() was being used with overlapping memory ranges; switched to memmove(). - bline->line_number was not set in one location. Exact causes identified using valgrind. svn path=/trunk/yasm/; revision=2348
2010-08-01win32: Make external safeseh work again (broken in [2343]).Peter Johnson
svn path=/trunk/yasm/; revision=2347
2010-08-01Rename RDRND feature bit to RDRAND.Peter Johnson
svn path=/trunk/yasm/; revision=2346
2010-08-01macho32: Correctly output pc-relative non-external intersegment.Peter Johnson
Reported by: Justin Lebar <justin.lebar@gmail.com> svn path=/trunk/yasm/; revision=2345
2010-08-01macho: Fix relocation table file location.Peter Johnson
svn path=/trunk/yasm/; revision=2344
2010-07-31Fix #139: Fix a number of issues with win32 safeseh support.Peter Johnson
- Always create a non-global absolute symbol @feat.00 with value of 1. - Set type field to 0x20 (function) for safeseh-declared symbols. - Force safeseh-declared symbols into the symbol table, but don't force them to be global. svn path=/trunk/yasm/; revision=2343
2010-07-27Remove some causes of unnecessary rebuilds on Windows (VC10 only)Brian Gladman
svn path=/trunk/yasm/; revision=2342
2010-07-23gen_x86_insn.py: Add SMX to list of ordered_cpu_features.Peter Johnson
svn path=/trunk/yasm/; revision=2340
2010-07-23Fix #211: Add INVEPT, INVVPID, and GETSEC instructions.Peter Johnson
INVEPT and INVVPID is enabled via the "eptvpid" cpu feature. GETSEC is enabled via the "smx" cpu feature. svn path=/trunk/yasm/; revision=2339
2010-07-23Fix #212: Set LC_SEGMENT vmsize correctly.Peter Johnson
svn path=/trunk/yasm/; revision=2338
2010-07-03Add support for XSAVEOPT instruction.Peter Johnson
Reported by: Mark Charney <mark.charney@intel.com> svn path=/trunk/yasm/; revision=2337
2010-07-03Add Intel post-32nm processor instructions (section 7 of AVX spec).Peter Johnson
Contributed by: Mark Charney <mark.charney@intel.com> svn path=/trunk/yasm/; revision=2336