678 Commits (7a6e9cb4304d0dcd9ecbc50ebd79588adcae58f8)

Author SHA1 Message Date
Peter Johnson 90a38d71b0 Rewrite x86 identifier recognition to use a minimal perfect hash table 19 years ago
Peter Johnson 52b3231aa8 * objfmt.h (yasm_objfmt_add_default_section): Update doxygen documentation. 19 years ago
Peter Johnson b5c76541cb Fix #70 by allowing overrides on the default (usually ".text") section. 19 years ago
Peter Johnson faee015579 Remove some unused variables/functions. 19 years ago
Peter Johnson 2e18bad174 * intnum.c (yasm_intnum_create_leb128): Create an intnum from a LEB128 19 years ago
Peter Johnson bb15d52a37 * linemgr.h (yasm_linemap_traverse_filenames): New function to go through all 19 years ago
Peter Johnson d8c7ca6d3b * intnum.c (yasm_intnum_get_sized): Honor negative warn setting (signed). 19 years ago
Peter Johnson 91ac655c47 * intnum.h (yasm_get_sleb128, yasm_size_sleb128): New functions to handle 19 years ago
Peter Johnson d69bb359ba Match yasm_symtab_traverse() implementation to doxygen documentation by 19 years ago
Peter Johnson 3f03dd3352 * bitvect.c (BitVector_from_Enum): Silence compiler warning. 19 years ago
Peter Johnson 1fcac8f4b0 * expr.c (yasm_expr_print): Increase size of opstr so it's large enough to 19 years ago
Peter Johnson 96be946565 * bytecode.c (yasm_bc_tobytes): *really* fix handling of bytecodes larger than provided buffer. 19 years ago
Peter Johnson afc69ea6f4 * objfmt.h (yasm_objfmt_output): Fix macro. 19 years ago
Peter Johnson f7665e25c5 Implement DWARF2 .file "foo.c" (sans file number) so that it actually sets 19 years ago
Peter Johnson 5b4515ee00 * coretype.h (yasm__splitpath): Fix doxygen comment. 19 years ago
Peter Johnson 24aabe1631 * coretype.h (yasm__splitpath): Add some detection logic to try to detect 19 years ago
Peter Johnson f3e684dace * arch.h (yasm_arch_min_insn_len): Get the minimum instruction length in 19 years ago
Peter Johnson d23670b12a * dbgfmt.h (yasm_dbgfmt_directive): Add section parameter to specify currently 19 years ago
Peter Johnson cea67a24b2 * splitpath_test.c: Add no-filename cases. 19 years ago
Peter Johnson 000ba73a81 Add functions to split a path into a directory and base filename. 19 years ago
Peter Johnson 58d57cc5a9 * symrec.h (yasm_symtab_get): Fix doxygen documentation. 19 years ago
Peter Johnson 2f6a210e31 * parser.h (do_parse): Add dbgfmt parameter. 19 years ago
Peter Johnson c2aff9b707 * linemgr.h (yasm_linemap_goto_next): Fix typo in text description. 19 years ago
Peter Johnson e55c132a58 Implement GAS syntax ".local" directive. This is used by GCC to generate 19 years ago
Peter Johnson 7a31b45af1 * intnum.c (yasm_intnum_set_uint): New function to set intnum to any 19 years ago
Peter Johnson 47a34a7d8c * section.c: Refine optimizer algorithm description. Code will need to 19 years ago
Peter Johnson aa81c64488 Build cleanups (mostly for warnings) for VC8. 19 years ago
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 1b9b76cfe6 Add ability for GAS input to set section alignment in the same way GAS does: 19 years ago
Peter Johnson 36ff44b3ac Fix ELF64 relocations for common, global, and common+global symbols to match 19 years ago
Peter Johnson 5074259998 * symrec.c (symrec_define): Don't error if a symbol is declared common and 19 years ago
Peter Johnson 730fdd725f Add warning class (YASM_WARN_UNINIT_CONTENTS) to turn off the 19 years ago
Peter Johnson 81a6ef76d8 * libyasm.h (yasm_linemap_set): Allow NULL filename to indicate unchanged. 19 years ago
Peter Johnson 0b503d5f19 * assocdat.c (yasm__assoc_data_add): Add safety valve: don't delete existing 19 years ago
Peter Johnson 7f72306ed5 Make negative times value an error case. 19 years ago
Peter Johnson f03d75b1d8 * intnum.c (yasm_intnum_is_zero, yasm_intnum_is_pos1, yasm_intnum_is_neg1) 19 years ago
Peter Johnson b7d3a2f80e * bytecode.h (yasm_dv_create_string): Fix up documentation. 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 97ea773348 * elf-x86-amd64.c (elf_x86_amd64_write_reloc): Fix a crash with ELF: when an 19 years ago
Peter Johnson 1ddc1272d2 Add support for LEB128 encoded integers (both signed and unsigned). This 19 years ago
Peter Johnson 77a535f673 Create new working branch for new (Robertson 1977) optimizer. 19 years ago
Peter Johnson 8cecb5b2a1 * bytecode.c (bc_align_tobytes): Handle cases where some code fills don't 19 years ago
Peter Johnson d660906db5 Implement align and org bytecodes. While we're here, implement .zero 19 years ago
Peter Johnson a43f40ebf3 Revert [1251]. From further investigation, ML64's generation of REL32 in 19 years ago
Peter Johnson 253056c994 * coff-objfmt.c (coff_objfmt_output_expr): Change relocations output for 19 years ago
Peter Johnson a64e416036 Split arch module parse_check_id into parse_check_reg, parse_check_reggroup, 19 years ago
Peter Johnson aa2571e22b Preliminary GAS parser. Only a few instructions are supported at present. 19 years ago
Peter Johnson cccdbc8060 * arch.h (yasm_arch_reggroup_get_reg): Add macro implementation. 19 years ago