174 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 4debc9c542 Unbreak distcheck. 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 aa3e6ff9b9 Change some optimization settings so that imm8 optimizations actually get 19 years ago
Peter Johnson 9996855928 Fix common and 0-offset local definition of symbol. The symbol would end 19 years ago
Peter Johnson 783e4ae9cf Add test output file missed in previous commit. Note this output currently 19 years ago
Peter Johnson 36ff44b3ac Fix ELF64 relocations for common, global, and common+global symbols to match 19 years ago
Peter Johnson 730fdd725f Add warning class (YASM_WARN_UNINIT_CONTENTS) to turn off the 19 years ago
Peter Johnson 4e94bf43a0 Fix the use of ELF type/size directives with local variables. 19 years ago
Peter Johnson 4bb7e6aa72 * elf.c (elf_symtab_create): Default type to STT_NOTYPE. 19 years ago
Peter Johnson 2e2fc30f46 * elf-objfmt.c (elf_objfmt_symtab_append): Don't append symbol a second 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 c67a80021b * gas-bison.y: Add support for .value alias for .2byte (GAS-x86/amd64). 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 2555e36799 * gas-bison.y: Implement .type and .size directives. 19 years ago
Peter Johnson a43f40ebf3 Revert [1251]. From further investigation, ML64's generation of REL32 in 19 years ago
Peter Johnson fc6e94054e * coff-objfmt.c (coff_objfmt_output_expr): Try to match the new ML64's 19 years ago
Peter Johnson 745677f45d * Fix win64/tests/Makefile.inc that was causing distcheck breakage. 19 years ago
Peter Johnson f1d4bb2670 - Add win64 as an alias for -f win32 -m amd64. 19 years ago
Peter Johnson 253056c994 * coff-objfmt.c (coff_objfmt_output_expr): Change relocations output for 19 years ago
Peter Johnson aa2571e22b Preliminary GAS parser. Only a few instructions are supported at present. 19 years ago
Peter Johnson 164f5994a5 * x86bc.c (x86_bc_insn_resolve): Actually support the flag to allow 19 years ago
Peter Johnson 15d5515568 * elf-objfmt.c (elf_objfmt_output_section): Don't try to skip empty 19 years ago
Peter Johnson 104c0acf3c coff_objfmt.c: Add support for ADDR32NB relocations, and enable by default for 19 years ago
Peter Johnson 3c1b63f7cd coff_objfmt.c (coff_objfmt_section_switch): Default alignment to 16 bytes 19 years ago
Peter Johnson 6f6ce8ae70 Add support for ADDR64 relocations in 64-bit mode. 19 years ago
Michael Urman 3cc450d3ea Add `hidden' `internal' and `protected' symbol visibility types to 20 years ago
Peter Johnson 7a703538bf * xdf-objfmt.c (XDF_MAGIC): Change to XDF version 2.0. No backwards 20 years ago
Peter Johnson a7b3e15588 * coff-objfmt.c (win32_objfmt_directive): New function that implements the 20 years ago
Peter Johnson 1044d6df03 * configure.ac: Reorganize and add a few more extra GCC warnings. 20 years ago
Peter Johnson cb9a9f95f8 Add some abilities to base symrec so that it can be more effectively used by 20 years ago
Peter Johnson e2fa2c1c11 Since modules are now built into libyasm, it's no longer necessary to 20 years ago
Peter Johnson 882738b234 Greatly simplify build system by removing libtool and integrating formerly 20 years ago
Peter Johnson 23e53d41ce Fix #44 by adding support for WRT special symbols (e.g. [sym WRT ..plt] and 20 years ago
Peter Johnson 7f8d2c0cca * elf.h: Update x86 and amd64 relocation types and associated comments. 20 years ago
Michael Urman 9974f8f4eb Enable machine specific handling of relocation section type, since amd64 20 years ago
Michael Urman 02c79b209c Phase 2 of 2 cleanup to elf's internal structure. 20 years ago
Michael Urman 77713ed0fb Phase 1 of a 2 phase cleanup to elf's internal structure. 20 years ago
Peter Johnson cf8c4b16d5 Add relocation information to nasm list format by establishing a common 20 years ago
Peter Johnson da554ebe3b * xdf-objfmt.c (xdf_reloc.type): Remove FLAT relocation type and renumber. 20 years ago
Peter Johnson 2ac9e732f2 * expr.c (yasm_expr_extract_symrec): Add "relocate" parameter. Use it to 20 years ago
Peter Johnson 1a86c34026 * On most files: re-enable $IdPath$ as $Id$, and enable Id keyword expansion. 20 years ago
Michael Urman 2b7a521979 Fixed handling of absolute sections in the elf object format, including 21 years ago
Peter Johnson 1934989ab1 Add support for NASM-compatible ELF extensions to the GLOBAL and COMMON 21 years ago
Peter Johnson f973ee2c21 snprintf is not portable; use strcpy/strcat instead. 21 years ago
Peter Johnson b959339814 Add rudimentary, untested, AMD64 support. 21 years ago
Peter Johnson a4996c06c6 Massive libyasm / module interface update - Phase 2 (finally). 21 years ago