lib/std/Target.zig | 4 +- lib/std/array_hash_map.zig | 2 +- lib/std/coff.zig | 1203 +++++++++++------- lib/std/heap.zig | 33 +- src/Compilation.zig | 26 +- src/Compilation/Config.zig | 2 + src/InternPool.zig | 6 +- src/codegen.zig | 2 + src/codegen/x86_64/Emit.zig | 51 +- src/dev.zig | 2 + src/link.zig | 74 +- src/link/Coff.zig | 82 +- src/link/Coff2.zig | 2128 ++++++++++++++++++++++++++++++++ src/link/Elf2.zig | 628 +++++----- src/link/MappedFile.zig | 70 +- src/target.zig | 2 +- test/behavior/cast.zig | 2 - test/behavior/export_keyword.zig | 1 - test/behavior/extern.zig | 2 - test/behavior/floatop.zig | 17 - test/behavior/import_c_keywords.zig | 1 - test/behavior/math.zig | 10 +- test/behavior/multiple_externs_with_conflicting_types.zig | 1 - test/behavior/x86_64/binary.zig | 3 +- test/incremental/add_decl | 1 + test/incremental/add_decl_namespaced | 1 + test/incremental/analysis_error_and_syntax_error | 1 + test/incremental/bad_import | 1 + test/incremental/change_embed_file | 1 + test/incremental/change_enum_tag_type | 1 + test/incremental/change_exports | 1 + test/incremental/change_fn_type | 1 + test/incremental/change_generic_line_number | 1 + test/incremental/change_line_number | 1 + test/incremental/change_module | 1 + test/incremental/change_panic_handler | 1 + test/incremental/change_panic_handler_explicit | 1 + test/incremental/change_shift_op | 1 + test/incremental/change_struct_same_fields | 1 + test/incremental/change_zon_file | 1 + test/incremental/change_zon_file_no_result_type | 1 + test/incremental/compile_error_then_log | 1 + test/incremental/compile_log | 1 + test/incremental/delete_comptime_decls | 1 + test/incremental/dependency_on_type_of_inferred_global | 1 + test/incremental/fix_astgen_failure | 1 + test/incremental/function_becomes_inline | 1 + test/incremental/hello | 1 + test/incremental/make_decl_pub | 1 + test/incremental/modify_inline_fn | 1 + test/incremental/move_src | 1 + test/incremental/no_change_preserves_tag_names | 1 + test/incremental/recursive_function_becomes_non_recursive | 1 + test/incremental/remove_enum_field | 1 + test/incremental/remove_invalid_union_backing_enum | 1 + test/incremental/temporary_parse_error | 1 + test/incremental/type_becomes_comptime_only | 1 + test/incremental/unreferenced_error | 1 + 58 files changed, 3484 insertions(+), 902 deletions(-)