26 Commits (0ea57bf7bfbb841025673398501bb5201c6f9c07)

Author SHA1 Message Date
Peter Johnson 0ea57bf7bf Move section alignment to libyasm, refactoring it from individual object 19 years ago
Peter Johnson 94265938fd In GAS mode, detect sections that are marked as contain code thanks to "x" 19 years ago
Peter Johnson 731093717a Fix GAS section alignment, at least for ELF output. In GAS mode, the 19 years ago
Peter Johnson 1b9b76cfe6 Add ability for GAS input to set section alignment in the same way GAS does: 19 years ago
Peter Johnson b4d6598630 * gas-bison.y: Fix a couple use-after-free's. 19 years ago
Peter Johnson 8e1bd2ba04 Handle instruction and prefix identifiers properly when used in other 19 years ago
Peter Johnson bddebf0092 Add support for single-level GAS .rept directive. Nested .rept's are not 19 years ago
Peter Johnson b165660ece Fix implementation of r1298 and fixup testcases. 19 years ago
Peter Johnson cc13c875a1 Fix linker errors with GAS parser directives .data/.text/etc. 19 years ago
Peter Johnson 1abcdbfc01 Enhance builtin bytecode_data to support embedded NULs in character strings. 19 years ago
Peter Johnson 4024e3b87e Support standalone, segment, and REX prefixes in GAS mode. 19 years ago
Peter Johnson 8bfd61773e * gas-bison.y, gas-token.re: Support multiple instructions on a single line 19 years ago
Peter Johnson 40886e0c3a * gas-token.re (strbuf_append): Allocate before store (otherwise crash is 19 years ago
Peter Johnson c67a80021b * gas-bison.y: Add support for .value alias for .2byte (GAS-x86/amd64). 19 years ago
Peter Johnson 1ddc1272d2 Add support for LEB128 encoded integers (both signed and unsigned). This 19 years ago
Peter Johnson 8ab7670690 * gas-bison.y, gas-token.re: Implement .weak directive. 19 years ago
Peter Johnson 2555e36799 * gas-bison.y: Implement .type and .size directives. 19 years ago
Peter Johnson b6a378d14f Update all re2c input files to use case-insensitive strings. The code 19 years ago
Peter Johnson 1702e9d833 Continue re2c updates. This one gets rid of the unused label warnings. 19 years ago
Peter Johnson 90b7a5d9da Update re2c to May 12, 2004 version. This adds an output file option, so 19 years ago
Peter Johnson d660906db5 Implement align and org bytecodes. While we're here, implement .zero 19 years ago
Peter Johnson 1f332ebc31 * gas-bison.y: Change instructions and prefixes back into identifiers if 19 years ago
Peter Johnson a64e416036 Split arch module parse_check_id into parse_check_reg, parse_check_reggroup, 19 years ago
Peter Johnson 8545380851 * gas-bison.y: Allow .data, .text, and .bss to be used in expressions (they 19 years ago
Peter Johnson 267174e02b Move parsers/gas/tests/amd64 to arch/x86/tests/gas64, as the tests going 19 years ago
Peter Johnson aa2571e22b Preliminary GAS parser. Only a few instructions are supported at present. 19 years ago