summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix function declaration warnings with clang (#226)HEADmasterBiswapriyo Nath2023-05-174-8/+7
| | | | | | | | | | | | This fixes the following compiler warnings with clang tools/genperf/perfect.c:65:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] frontends/yasm/yasm.c:1379:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] modules/objfmts/elf/elf.c:225:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
* CI: update GitHub Actions version (#225)Biswapriyo Nath2023-05-171-2/+2
| | | | Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
* Fix missing yasm_xfree function declaration (#224)Biswapriyo Nath2023-05-141-0/+1
| | | | | | This fixes the following compiler error in macOS in CI. libyasm/tests/bitvect_test.c:112:5: error: implicit declaration of function 'yasm_xfree' [-Werror,-Wimplicit-function-declaration]
* GAS preprocessor: don't cut comments inside of string literals. (#81)Ulya Trofimovich2023-05-121-1/+27
|
* More makedep features (#80)bird2tori2023-05-122-33/+188
| | | | | | | | yasm.c: Added -MD, -MT and -MP options similar to gcc. Also added --makedep-dos2unix-slash for helping users of NUG make (and similar) on Windows. The -MD option does both assembling and Makefile dependency generation in one go, which convenient and a little quicker. nasm-preproc.c: Have to always gather dependencies to support -MD. Minimal cost. Co-authored-by: knut st. osmundsen <bird-skylake@anduin.net>
* libyasm/section.c: support gas .private_extern directive (#138)mackyle2023-05-121-0/+18
| | | | | | | | | | | | | | | | | | | | | Support for "private_extern" was previously added for nasm mode via a declaration like so: global foo:private_extern foo: ; codes However, that same code in gas format looks like this: .private_extern foo foo: # codes Add support for the gas version of "private_extern" syntax by supporting a new gas `.private_extern` directive that actually has exactly the same semantics as the nasm `global ...:private_extern` directive. Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
* Fix allocator mismatch (#107)Duncan Ogilvie2023-05-127-22/+22
|
* Python 2 to 3 migration - m4 folder (#144)Scott Furry2023-05-122-28/+64
| | | | | | | | | Update cython.m4 and pythonhead.m4 files to be compatible with py2/3 pythonhead.m4 changes taken from: https://raw.githubusercontent.com/posborne/dbus-python/master/m4/am-check-python-headers.m4 cython.m4 changes taken from: https://raw.githubusercontent.com/alisw/rivet/master/m4/cython.m4
* Enable AES on westmere (#97)Kaz Wesley2023-05-121-1/+1
| | | | | | | | | | Prior to this change: cpu_lcd(['AVX'], ['AVX','AES']) == ['AVX'], causing AES instructions to be treated as unsupported when "cpu WESTMERE" is used, or even "cpu WESTMERE AES". Fixed by reordering ordered_cpu_features such that now, cpu_lcd(['AVX'], ['AVX','AES']) == ['AES']. I don't know if there are CPUs this would not be correct for, but this is the value that's consistent with all extant CPU definitions.
* Allow sha256rnds2 to have memory as 2nd operand (#108)Peter Meerwald-Stadler2023-05-121-1/+1
|
* Added missing config vars to config.h.cmake. (#160)James Touton2023-05-122-1/+7
|
* Fix 128-bit variant of VPBLENDVB incorrectly marked as AVX2 instead of AVX ↵squidcc2023-05-121-1/+1
| | | | (#112)
* Update elf-objfmt.c (#148)kalebskeithley2023-05-121-0/+4
|
* Fix test failure introduced in 51af4082cc898b122b88f11fd34033fc00fad81e (#145)Matthieu Darbois2023-05-121-3/+3
| | | | modules/arch/x86/tests/x86_test.sh failed after 51af4082cc898b122b88f11fd34033fc00fad81e commit. This fixes this test.
* Fix badly freed pointer on indented code block after rept (#189)Fighter192023-05-121-3/+4
|
* gas preproc: Fix UB/crashes (#186)cryptobro2023-05-121-0/+6
|
* Fix memleak of codeview leaf (#114)Peter Meerwald-Stadler2023-05-121-0/+1
|
* Add EM for loongarch (#192)liuxiang882023-05-121-1/+2
|
* Remove __DATE__ from version strings (#198)Ismo Puustinen2023-05-123-3/+0
| | | | Having __DATE__ is causing compilation errors when it's defined by Bazel build tool like this: -D__DATE__=redacted
* Fix detecting Windows platform (#204)Biswapriyo Nath2023-05-125-9/+9
| | | | | | | | | | This replaces _MSC_VER macro with _WIN32 because the former one is for MSVC and Visual Studio only and is not defined in mingw environment. Wherease, _WIN32 macro is the proper way to check Windows platform irrespective of compiler toolchain. See the following official link for more info https://learn.microsoft.com/en-us/cpp/preprocessor/predefined-macros
* Introduce a security policy and add text to the README (#223)Siddhesh Poyarekar2023-05-122-0/+40
| | | | Add a SECURITY.md that disclaims almost all bugs as security issues.
* Add vcpkg installation instructions (#200)MonicaLiu2022-09-141-0/+12
| | | Co-authored-by: Monica <v-liumonica@microsoft.com>
* Merge branch 'master' of https://github.com/yasm/yasmBrian Gladman2022-01-2714-303/+1786
|\
| * Update Mach-O for newer macOS (#180)Peter Johnson2021-07-1014-303/+1786
| | | | | | | | | | - Create a dummy .llvmasm section for bitcode - Add [buildversion] directive for setting minos and sdk versions, e.g. [buildversion minos="10.14" sdk="10.14"]. This defaults to 10.5 on x64 and 10.4 on x86.
* | Update Visual Studio build to Visual STudio 2022Brian Gladman2022-01-2711-44/+44
|/
* Add GitHub CI build workflow (#179)Peter Johnson2021-07-091-0/+41
|
* Do not use AC_HEADER_STDC (#178)Peter Johnson2021-07-091-6/+0
| | | This fixes compatibility with autotools 2.70+
* Fix test failures (#177)Peter Johnson2021-07-091-1/+1
| | | These were caused by the addition of the segreg-in-64bit warning.
* minor update to VS2019 buildBrian Gladman2020-07-271-3/+6
|
* add missing include fileBrian Gladman2020-05-041-0/+8
|
* Fix EOL handling in genmacro.c (#123)mx2372020-05-031-1/+1
|
* Revert optimizations added in #68 (#146)Denis Denisov2020-05-0315-390/+27
|
* Fix info.stab / info.stabstr typo in stabs-dbgfmt.c (#96)Ozkan Sezer2020-05-031-1/+1
|
* Allow user to set the YASM path with or without an ending backslash in ↵Brian Gladman2019-10-121-1/+1
| | | | Visual Studio integration
* add build files for Microsoft Visual Studio 2019Brian Gladman2019-05-1636-0/+4425
|
* Merge branch 'master' of https://github.com/yasm/yasmBrian Gladman2018-12-040-0/+0
|\
| * correct bug in VSYASM build integration files (vsyasm.targets)Brian Gladman2018-12-041-2/+2
| |
* | correct bug in VSYASM build integration files (vsyasm.targets)Brian Gladman2018-12-041-4/+4
|/
* change vsyasm.props to use the YASM_PATH environment variable if presentBrian Gladman2018-09-281-3/+3
|
* Update the files for integrating YASM into Visual Studio 2017Brian Gladman2018-09-272-61/+63
|
* avoid 'return value of ftruncate ignored' warnings (#76)mostynb2017-09-231-1/+2
|
* allow movbe to be suffixed with wlq in gas syntax.Matt Oliver2017-09-231-1/+3
|
* fix memory errors when using gas processor with coff object output.Matt Oliver2017-09-231-0/+1
|
* Only print 'warnings treated as errors' if there were warnings (#75)Simon Brenner2017-09-231-8/+10
| | | | This prints it as an additional error for the line that generated the first warning.
* Leak fixes (#79)bird2tori2017-09-234-0/+11
| | | | | | | | * preproc/nasm: Close the input file; addressed a few memory leaks. * yasm.c: delete include paths before we exit * cv-dbgfmt.c: Free cv_filename::filename too.
* New AMD Excavator MONITORX, MWAITX instruction support (for 32bit/64bit) (#78)Paul Blinzer2017-09-231-0/+14
| | | | | | | | | | | | | | | | | | | | MONITORX has opcode "0F 01 FA". rAX contains address to be monitored ECX specifies optional extensions EDX specifies optional hints MWAITX has opcode "0F 01 FA". EAX specifies optional hints ECX specifies optional extensions Public documentation: http://support.amd.com/TechDocs/24594.pdf New CLZERO instruction support (for 32bit/64bit) * clzero has opcode "0F 01 FC". * clzero gets enabled with CPUID, 8000_0008, EBX[0] =1. * clzero instruction zero's out the 64 byte cache line specified in rAX. Bits 5:0 of rAX are ignored Copyright (c) 2016 Advanced Micro Devices, Inc. All rights reserved. Redistributed under simplified 2-clause BSD licence
* add Visual Studio 2017 build filesBrian Gladman2017-03-0737-0/+4430
|
* add missing VC++ headerBrian Gladman2017-03-071-0/+8
|
* Added -Wno-segreg-in-64bit.Peter Johnson2015-11-065-2/+9
| | | | | This allows suppressing the annoying 'segment register ignored in 64-bit mode' warning.
* Merge branch 'master' of github.com:yasm/yasmBrian Gladman2015-11-063-9/+15
|\