| ... | @@ -12,289 +12,289 @@ comptime { | ... | @@ -12,289 +12,289 @@ comptime { |
| 12 | const strong_linkage = if (is_test) builtin.GlobalLinkage.Internal else builtin.GlobalLinkage.Strong; | 12 | const strong_linkage = if (is_test) builtin.GlobalLinkage.Internal else builtin.GlobalLinkage.Strong; |
| 13 | | 13 | |
| 14 | switch (builtin.arch) { | 14 | switch (builtin.arch) { |
| 15 | .i386, .x86_64 => @export("__zig_probe_stack", @import("compiler_rt/stack_probe.zig").zig_probe_stack, linkage), | 15 | .i386, .x86_64 => @export(@import("compiler_rt/stack_probe.zig").zig_probe_stack, .{ .name = "__zig_probe_stack", .linkage = linkage }), |
| 16 | else => {}, | 16 | else => {}, |
| 17 | } | 17 | } |
| 18 | | 18 | |
| 19 | @export("__lesf2", @import("compiler_rt/comparesf2.zig").__lesf2, linkage); | 19 | @export(@import("compiler_rt/comparesf2.zig").__lesf2, .{ .name = "__lesf2", .linkage = linkage }); |
| 20 | @export("__ledf2", @import("compiler_rt/comparedf2.zig").__ledf2, linkage); | 20 | @export(@import("compiler_rt/comparedf2.zig").__ledf2, .{ .name = "__ledf2", .linkage = linkage }); |
| 21 | @export("__letf2", @import("compiler_rt/comparetf2.zig").__letf2, linkage); | 21 | @export(@import("compiler_rt/comparetf2.zig").__letf2, .{ .name = "__letf2", .linkage = linkage }); |
| 22 | | 22 | |
| 23 | @export("__gesf2", @import("compiler_rt/comparesf2.zig").__gesf2, linkage); | 23 | @export(@import("compiler_rt/comparesf2.zig").__gesf2, .{ .name = "__gesf2", .linkage = linkage }); |
| 24 | @export("__gedf2", @import("compiler_rt/comparedf2.zig").__gedf2, linkage); | 24 | @export(@import("compiler_rt/comparedf2.zig").__gedf2, .{ .name = "__gedf2", .linkage = linkage }); |
| 25 | @export("__getf2", @import("compiler_rt/comparetf2.zig").__getf2, linkage); | 25 | @export(@import("compiler_rt/comparetf2.zig").__getf2, .{ .name = "__getf2", .linkage = linkage }); |
| 26 | | 26 | |
| 27 | if (!is_test) { | 27 | if (!is_test) { |
| 28 | @export("__cmpsf2", @import("compiler_rt/comparesf2.zig").__lesf2, linkage); | 28 | @export(@import("compiler_rt/comparesf2.zig").__lesf2, .{ .name = "__cmpsf2", .linkage = linkage }); |
| 29 | @export("__cmpdf2", @import("compiler_rt/comparedf2.zig").__ledf2, linkage); | 29 | @export(@import("compiler_rt/comparedf2.zig").__ledf2, .{ .name = "__cmpdf2", .linkage = linkage }); |
| 30 | @export("__cmptf2", @import("compiler_rt/comparetf2.zig").__letf2, linkage); | 30 | @export(@import("compiler_rt/comparetf2.zig").__letf2, .{ .name = "__cmptf2", .linkage = linkage }); |
| 31 | | 31 | |
| 32 | @export("__eqsf2", @import("compiler_rt/comparesf2.zig").__eqsf2, linkage); | 32 | @export(@import("compiler_rt/comparesf2.zig").__eqsf2, .{ .name = "__eqsf2", .linkage = linkage }); |
| 33 | @export("__eqdf2", @import("compiler_rt/comparedf2.zig").__eqdf2, linkage); | 33 | @export(@import("compiler_rt/comparedf2.zig").__eqdf2, .{ .name = "__eqdf2", .linkage = linkage }); |
| 34 | @export("__eqtf2", @import("compiler_rt/comparetf2.zig").__letf2, linkage); | 34 | @export(@import("compiler_rt/comparetf2.zig").__letf2, .{ .name = "__eqtf2", .linkage = linkage }); |
| 35 | | 35 | |
| 36 | @export("__ltsf2", @import("compiler_rt/comparesf2.zig").__ltsf2, linkage); | 36 | @export(@import("compiler_rt/comparesf2.zig").__ltsf2, .{ .name = "__ltsf2", .linkage = linkage }); |
| 37 | @export("__ltdf2", @import("compiler_rt/comparedf2.zig").__ltdf2, linkage); | 37 | @export(@import("compiler_rt/comparedf2.zig").__ltdf2, .{ .name = "__ltdf2", .linkage = linkage }); |
| 38 | @export("__lttf2", @import("compiler_rt/comparetf2.zig").__letf2, linkage); | 38 | @export(@import("compiler_rt/comparetf2.zig").__letf2, .{ .name = "__lttf2", .linkage = linkage }); |
| 39 | | 39 | |
| 40 | @export("__nesf2", @import("compiler_rt/comparesf2.zig").__nesf2, linkage); | 40 | @export(@import("compiler_rt/comparesf2.zig").__nesf2, .{ .name = "__nesf2", .linkage = linkage }); |
| 41 | @export("__nedf2", @import("compiler_rt/comparedf2.zig").__nedf2, linkage); | 41 | @export(@import("compiler_rt/comparedf2.zig").__nedf2, .{ .name = "__nedf2", .linkage = linkage }); |
| 42 | @export("__netf2", @import("compiler_rt/comparetf2.zig").__letf2, linkage); | 42 | @export(@import("compiler_rt/comparetf2.zig").__letf2, .{ .name = "__netf2", .linkage = linkage }); |
| 43 | | 43 | |
| 44 | @export("__gtsf2", @import("compiler_rt/comparesf2.zig").__gtsf2, linkage); | 44 | @export(@import("compiler_rt/comparesf2.zig").__gtsf2, .{ .name = "__gtsf2", .linkage = linkage }); |
| 45 | @export("__gtdf2", @import("compiler_rt/comparedf2.zig").__gtdf2, linkage); | 45 | @export(@import("compiler_rt/comparedf2.zig").__gtdf2, .{ .name = "__gtdf2", .linkage = linkage }); |
| 46 | @export("__gttf2", @import("compiler_rt/comparetf2.zig").__getf2, linkage); | 46 | @export(@import("compiler_rt/comparetf2.zig").__getf2, .{ .name = "__gttf2", .linkage = linkage }); |
| 47 | | 47 | |
| 48 | @export("__gnu_h2f_ieee", @import("compiler_rt/extendXfYf2.zig").__extendhfsf2, linkage); | 48 | @export(@import("compiler_rt/extendXfYf2.zig").__extendhfsf2, .{ .name = "__gnu_h2f_ieee", .linkage = linkage }); |
| 49 | @export("__gnu_f2h_ieee", @import("compiler_rt/truncXfYf2.zig").__truncsfhf2, linkage); | 49 | @export(@import("compiler_rt/truncXfYf2.zig").__truncsfhf2, .{ .name = "__gnu_f2h_ieee", .linkage = linkage }); |
| 50 | } | 50 | } |
| 51 | | 51 | |
| 52 | @export("__unordsf2", @import("compiler_rt/comparesf2.zig").__unordsf2, linkage); | 52 | @export(@import("compiler_rt/comparesf2.zig").__unordsf2, .{ .name = "__unordsf2", .linkage = linkage }); |
| 53 | @export("__unorddf2", @import("compiler_rt/comparedf2.zig").__unorddf2, linkage); | 53 | @export(@import("compiler_rt/comparedf2.zig").__unorddf2, .{ .name = "__unorddf2", .linkage = linkage }); |
| 54 | @export("__unordtf2", @import("compiler_rt/comparetf2.zig").__unordtf2, linkage); | 54 | @export(@import("compiler_rt/comparetf2.zig").__unordtf2, .{ .name = "__unordtf2", .linkage = linkage }); |
| 55 | | 55 | |
| 56 | @export("__addsf3", @import("compiler_rt/addXf3.zig").__addsf3, linkage); | 56 | @export(@import("compiler_rt/addXf3.zig").__addsf3, .{ .name = "__addsf3", .linkage = linkage }); |
| 57 | @export("__adddf3", @import("compiler_rt/addXf3.zig").__adddf3, linkage); | 57 | @export(@import("compiler_rt/addXf3.zig").__adddf3, .{ .name = "__adddf3", .linkage = linkage }); |
| 58 | @export("__addtf3", @import("compiler_rt/addXf3.zig").__addtf3, linkage); | 58 | @export(@import("compiler_rt/addXf3.zig").__addtf3, .{ .name = "__addtf3", .linkage = linkage }); |
| 59 | @export("__subsf3", @import("compiler_rt/addXf3.zig").__subsf3, linkage); | 59 | @export(@import("compiler_rt/addXf3.zig").__subsf3, .{ .name = "__subsf3", .linkage = linkage }); |
| 60 | @export("__subdf3", @import("compiler_rt/addXf3.zig").__subdf3, linkage); | 60 | @export(@import("compiler_rt/addXf3.zig").__subdf3, .{ .name = "__subdf3", .linkage = linkage }); |
| 61 | @export("__subtf3", @import("compiler_rt/addXf3.zig").__subtf3, linkage); | 61 | @export(@import("compiler_rt/addXf3.zig").__subtf3, .{ .name = "__subtf3", .linkage = linkage }); |
| 62 | | 62 | |
| 63 | @export("__mulsf3", @import("compiler_rt/mulXf3.zig").__mulsf3, linkage); | 63 | @export(@import("compiler_rt/mulXf3.zig").__mulsf3, .{ .name = "__mulsf3", .linkage = linkage }); |
| 64 | @export("__muldf3", @import("compiler_rt/mulXf3.zig").__muldf3, linkage); | 64 | @export(@import("compiler_rt/mulXf3.zig").__muldf3, .{ .name = "__muldf3", .linkage = linkage }); |
| 65 | @export("__multf3", @import("compiler_rt/mulXf3.zig").__multf3, linkage); | 65 | @export(@import("compiler_rt/mulXf3.zig").__multf3, .{ .name = "__multf3", .linkage = linkage }); |
| 66 | | 66 | |
| 67 | @export("__divsf3", @import("compiler_rt/divsf3.zig").__divsf3, linkage); | 67 | @export(@import("compiler_rt/divsf3.zig").__divsf3, .{ .name = "__divsf3", .linkage = linkage }); |
| 68 | @export("__divdf3", @import("compiler_rt/divdf3.zig").__divdf3, linkage); | 68 | @export(@import("compiler_rt/divdf3.zig").__divdf3, .{ .name = "__divdf3", .linkage = linkage }); |
| 69 | | 69 | |
| 70 | @export("__ashlti3", @import("compiler_rt/ashlti3.zig").__ashlti3, linkage); | 70 | @export(@import("compiler_rt/ashlti3.zig").__ashlti3, .{ .name = "__ashlti3", .linkage = linkage }); |
| 71 | @export("__lshrti3", @import("compiler_rt/lshrti3.zig").__lshrti3, linkage); | 71 | @export(@import("compiler_rt/lshrti3.zig").__lshrti3, .{ .name = "__lshrti3", .linkage = linkage }); |
| 72 | @export("__ashrti3", @import("compiler_rt/ashrti3.zig").__ashrti3, linkage); | 72 | @export(@import("compiler_rt/ashrti3.zig").__ashrti3, .{ .name = "__ashrti3", .linkage = linkage }); |
| 73 | | 73 | |
| 74 | @export("__floatsidf", @import("compiler_rt/floatsiXf.zig").__floatsidf, linkage); | 74 | @export(@import("compiler_rt/floatsiXf.zig").__floatsidf, .{ .name = "__floatsidf", .linkage = linkage }); |
| 75 | @export("__floatsisf", @import("compiler_rt/floatsiXf.zig").__floatsisf, linkage); | 75 | @export(@import("compiler_rt/floatsiXf.zig").__floatsisf, .{ .name = "__floatsisf", .linkage = linkage }); |
| 76 | @export("__floatdidf", @import("compiler_rt/floatdidf.zig").__floatdidf, linkage); | 76 | @export(@import("compiler_rt/floatdidf.zig").__floatdidf, .{ .name = "__floatdidf", .linkage = linkage }); |
| 77 | @export("__floatsitf", @import("compiler_rt/floatsiXf.zig").__floatsitf, linkage); | 77 | @export(@import("compiler_rt/floatsiXf.zig").__floatsitf, .{ .name = "__floatsitf", .linkage = linkage }); |
| 78 | | 78 | |
| 79 | @export("__floatunsisf", @import("compiler_rt/floatunsisf.zig").__floatunsisf, linkage); | 79 | @export(@import("compiler_rt/floatunsisf.zig").__floatunsisf, .{ .name = "__floatunsisf", .linkage = linkage }); |
| 80 | @export("__floatundisf", @import("compiler_rt/floatundisf.zig").__floatundisf, linkage); | 80 | @export(@import("compiler_rt/floatundisf.zig").__floatundisf, .{ .name = "__floatundisf", .linkage = linkage }); |
| 81 | @export("__floatunsidf", @import("compiler_rt/floatunsidf.zig").__floatunsidf, linkage); | 81 | @export(@import("compiler_rt/floatunsidf.zig").__floatunsidf, .{ .name = "__floatunsidf", .linkage = linkage }); |
| 82 | @export("__floatundidf", @import("compiler_rt/floatundidf.zig").__floatundidf, linkage); | 82 | @export(@import("compiler_rt/floatundidf.zig").__floatundidf, .{ .name = "__floatundidf", .linkage = linkage }); |
| 83 | | 83 | |
| 84 | @export("__floattitf", @import("compiler_rt/floattitf.zig").__floattitf, linkage); | 84 | @export(@import("compiler_rt/floattitf.zig").__floattitf, .{ .name = "__floattitf", .linkage = linkage }); |
| 85 | @export("__floattidf", @import("compiler_rt/floattidf.zig").__floattidf, linkage); | 85 | @export(@import("compiler_rt/floattidf.zig").__floattidf, .{ .name = "__floattidf", .linkage = linkage }); |
| 86 | @export("__floattisf", @import("compiler_rt/floattisf.zig").__floattisf, linkage); | 86 | @export(@import("compiler_rt/floattisf.zig").__floattisf, .{ .name = "__floattisf", .linkage = linkage }); |
| 87 | | 87 | |
| 88 | @export("__floatunditf", @import("compiler_rt/floatunditf.zig").__floatunditf, linkage); | 88 | @export(@import("compiler_rt/floatunditf.zig").__floatunditf, .{ .name = "__floatunditf", .linkage = linkage }); |
| 89 | @export("__floatunsitf", @import("compiler_rt/floatunsitf.zig").__floatunsitf, linkage); | 89 | @export(@import("compiler_rt/floatunsitf.zig").__floatunsitf, .{ .name = "__floatunsitf", .linkage = linkage }); |
| 90 | | 90 | |
| 91 | @export("__floatuntitf", @import("compiler_rt/floatuntitf.zig").__floatuntitf, linkage); | 91 | @export(@import("compiler_rt/floatuntitf.zig").__floatuntitf, .{ .name = "__floatuntitf", .linkage = linkage }); |
| 92 | @export("__floatuntidf", @import("compiler_rt/floatuntidf.zig").__floatuntidf, linkage); | 92 | @export(@import("compiler_rt/floatuntidf.zig").__floatuntidf, .{ .name = "__floatuntidf", .linkage = linkage }); |
| 93 | @export("__floatuntisf", @import("compiler_rt/floatuntisf.zig").__floatuntisf, linkage); | 93 | @export(@import("compiler_rt/floatuntisf.zig").__floatuntisf, .{ .name = "__floatuntisf", .linkage = linkage }); |
| 94 | | 94 | |
| 95 | @export("__extenddftf2", @import("compiler_rt/extendXfYf2.zig").__extenddftf2, linkage); | 95 | @export(@import("compiler_rt/extendXfYf2.zig").__extenddftf2, .{ .name = "__extenddftf2", .linkage = linkage }); |
| 96 | @export("__extendsftf2", @import("compiler_rt/extendXfYf2.zig").__extendsftf2, linkage); | 96 | @export(@import("compiler_rt/extendXfYf2.zig").__extendsftf2, .{ .name = "__extendsftf2", .linkage = linkage }); |
| 97 | @export("__extendhfsf2", @import("compiler_rt/extendXfYf2.zig").__extendhfsf2, linkage); | 97 | @export(@import("compiler_rt/extendXfYf2.zig").__extendhfsf2, .{ .name = "__extendhfsf2", .linkage = linkage }); |
| 98 | | 98 | |
| 99 | @export("__truncsfhf2", @import("compiler_rt/truncXfYf2.zig").__truncsfhf2, linkage); | 99 | @export(@import("compiler_rt/truncXfYf2.zig").__truncsfhf2, .{ .name = "__truncsfhf2", .linkage = linkage }); |
| 100 | @export("__truncdfhf2", @import("compiler_rt/truncXfYf2.zig").__truncdfhf2, linkage); | 100 | @export(@import("compiler_rt/truncXfYf2.zig").__truncdfhf2, .{ .name = "__truncdfhf2", .linkage = linkage }); |
| 101 | @export("__trunctfdf2", @import("compiler_rt/truncXfYf2.zig").__trunctfdf2, linkage); | 101 | @export(@import("compiler_rt/truncXfYf2.zig").__trunctfdf2, .{ .name = "__trunctfdf2", .linkage = linkage }); |
| 102 | @export("__trunctfsf2", @import("compiler_rt/truncXfYf2.zig").__trunctfsf2, linkage); | 102 | @export(@import("compiler_rt/truncXfYf2.zig").__trunctfsf2, .{ .name = "__trunctfsf2", .linkage = linkage }); |
| 103 | | 103 | |
| 104 | @export("__truncdfsf2", @import("compiler_rt/truncXfYf2.zig").__truncdfsf2, linkage); | 104 | @export(@import("compiler_rt/truncXfYf2.zig").__truncdfsf2, .{ .name = "__truncdfsf2", .linkage = linkage }); |
| 105 | | 105 | |
| 106 | @export("__extendsfdf2", @import("compiler_rt/extendXfYf2.zig").__extendsfdf2, linkage); | 106 | @export(@import("compiler_rt/extendXfYf2.zig").__extendsfdf2, .{ .name = "__extendsfdf2", .linkage = linkage }); |
| 107 | | 107 | |
| 108 | @export("__fixunssfsi", @import("compiler_rt/fixunssfsi.zig").__fixunssfsi, linkage); | 108 | @export(@import("compiler_rt/fixunssfsi.zig").__fixunssfsi, .{ .name = "__fixunssfsi", .linkage = linkage }); |
| 109 | @export("__fixunssfdi", @import("compiler_rt/fixunssfdi.zig").__fixunssfdi, linkage); | 109 | @export(@import("compiler_rt/fixunssfdi.zig").__fixunssfdi, .{ .name = "__fixunssfdi", .linkage = linkage }); |
| 110 | @export("__fixunssfti", @import("compiler_rt/fixunssfti.zig").__fixunssfti, linkage); | 110 | @export(@import("compiler_rt/fixunssfti.zig").__fixunssfti, .{ .name = "__fixunssfti", .linkage = linkage }); |
| 111 | | 111 | |
| 112 | @export("__fixunsdfsi", @import("compiler_rt/fixunsdfsi.zig").__fixunsdfsi, linkage); | 112 | @export(@import("compiler_rt/fixunsdfsi.zig").__fixunsdfsi, .{ .name = "__fixunsdfsi", .linkage = linkage }); |
| 113 | @export("__fixunsdfdi", @import("compiler_rt/fixunsdfdi.zig").__fixunsdfdi, linkage); | 113 | @export(@import("compiler_rt/fixunsdfdi.zig").__fixunsdfdi, .{ .name = "__fixunsdfdi", .linkage = linkage }); |
| 114 | @export("__fixunsdfti", @import("compiler_rt/fixunsdfti.zig").__fixunsdfti, linkage); | 114 | @export(@import("compiler_rt/fixunsdfti.zig").__fixunsdfti, .{ .name = "__fixunsdfti", .linkage = linkage }); |
| 115 | | 115 | |
| 116 | @export("__fixunstfsi", @import("compiler_rt/fixunstfsi.zig").__fixunstfsi, linkage); | 116 | @export(@import("compiler_rt/fixunstfsi.zig").__fixunstfsi, .{ .name = "__fixunstfsi", .linkage = linkage }); |
| 117 | @export("__fixunstfdi", @import("compiler_rt/fixunstfdi.zig").__fixunstfdi, linkage); | 117 | @export(@import("compiler_rt/fixunstfdi.zig").__fixunstfdi, .{ .name = "__fixunstfdi", .linkage = linkage }); |
| 118 | @export("__fixunstfti", @import("compiler_rt/fixunstfti.zig").__fixunstfti, linkage); | 118 | @export(@import("compiler_rt/fixunstfti.zig").__fixunstfti, .{ .name = "__fixunstfti", .linkage = linkage }); |
| 119 | | 119 | |
| 120 | @export("__fixdfdi", @import("compiler_rt/fixdfdi.zig").__fixdfdi, linkage); | 120 | @export(@import("compiler_rt/fixdfdi.zig").__fixdfdi, .{ .name = "__fixdfdi", .linkage = linkage }); |
| 121 | @export("__fixdfsi", @import("compiler_rt/fixdfsi.zig").__fixdfsi, linkage); | 121 | @export(@import("compiler_rt/fixdfsi.zig").__fixdfsi, .{ .name = "__fixdfsi", .linkage = linkage }); |
| 122 | @export("__fixdfti", @import("compiler_rt/fixdfti.zig").__fixdfti, linkage); | 122 | @export(@import("compiler_rt/fixdfti.zig").__fixdfti, .{ .name = "__fixdfti", .linkage = linkage }); |
| 123 | @export("__fixsfdi", @import("compiler_rt/fixsfdi.zig").__fixsfdi, linkage); | 123 | @export(@import("compiler_rt/fixsfdi.zig").__fixsfdi, .{ .name = "__fixsfdi", .linkage = linkage }); |
| 124 | @export("__fixsfsi", @import("compiler_rt/fixsfsi.zig").__fixsfsi, linkage); | 124 | @export(@import("compiler_rt/fixsfsi.zig").__fixsfsi, .{ .name = "__fixsfsi", .linkage = linkage }); |
| 125 | @export("__fixsfti", @import("compiler_rt/fixsfti.zig").__fixsfti, linkage); | 125 | @export(@import("compiler_rt/fixsfti.zig").__fixsfti, .{ .name = "__fixsfti", .linkage = linkage }); |
| 126 | @export("__fixtfdi", @import("compiler_rt/fixtfdi.zig").__fixtfdi, linkage); | 126 | @export(@import("compiler_rt/fixtfdi.zig").__fixtfdi, .{ .name = "__fixtfdi", .linkage = linkage }); |
| 127 | @export("__fixtfsi", @import("compiler_rt/fixtfsi.zig").__fixtfsi, linkage); | 127 | @export(@import("compiler_rt/fixtfsi.zig").__fixtfsi, .{ .name = "__fixtfsi", .linkage = linkage }); |
| 128 | @export("__fixtfti", @import("compiler_rt/fixtfti.zig").__fixtfti, linkage); | 128 | @export(@import("compiler_rt/fixtfti.zig").__fixtfti, .{ .name = "__fixtfti", .linkage = linkage }); |
| 129 | | 129 | |
| 130 | @export("__udivmoddi4", @import("compiler_rt/udivmoddi4.zig").__udivmoddi4, linkage); | 130 | @export(@import("compiler_rt/udivmoddi4.zig").__udivmoddi4, .{ .name = "__udivmoddi4", .linkage = linkage }); |
| 131 | @export("__popcountdi2", @import("compiler_rt/popcountdi2.zig").__popcountdi2, linkage); | 131 | @export(@import("compiler_rt/popcountdi2.zig").__popcountdi2, .{ .name = "__popcountdi2", .linkage = linkage }); |
| 132 | | 132 | |
| 133 | @export("__muldi3", @import("compiler_rt/muldi3.zig").__muldi3, linkage); | 133 | @export(@import("compiler_rt/muldi3.zig").__muldi3, .{ .name = "__muldi3", .linkage = linkage }); |
| 134 | @export("__divmoddi4", __divmoddi4, linkage); | 134 | @export(__divmoddi4, .{ .name = "__divmoddi4", .linkage = linkage }); |
| 135 | @export("__divsi3", __divsi3, linkage); | 135 | @export(__divsi3, .{ .name = "__divsi3", .linkage = linkage }); |
| 136 | @export("__divdi3", __divdi3, linkage); | 136 | @export(__divdi3, .{ .name = "__divdi3", .linkage = linkage }); |
| 137 | @export("__udivsi3", __udivsi3, linkage); | 137 | @export(__udivsi3, .{ .name = "__udivsi3", .linkage = linkage }); |
| 138 | @export("__udivdi3", __udivdi3, linkage); | 138 | @export(__udivdi3, .{ .name = "__udivdi3", .linkage = linkage }); |
| 139 | @export("__modsi3", __modsi3, linkage); | 139 | @export(__modsi3, .{ .name = "__modsi3", .linkage = linkage }); |
| 140 | @export("__moddi3", __moddi3, linkage); | 140 | @export(__moddi3, .{ .name = "__moddi3", .linkage = linkage }); |
| 141 | @export("__umodsi3", __umodsi3, linkage); | 141 | @export(__umodsi3, .{ .name = "__umodsi3", .linkage = linkage }); |
| 142 | @export("__umoddi3", __umoddi3, linkage); | 142 | @export(__umoddi3, .{ .name = "__umoddi3", .linkage = linkage }); |
| 143 | @export("__divmodsi4", __divmodsi4, linkage); | 143 | @export(__divmodsi4, .{ .name = "__divmodsi4", .linkage = linkage }); |
| 144 | @export("__udivmodsi4", __udivmodsi4, linkage); | 144 | @export(__udivmodsi4, .{ .name = "__udivmodsi4", .linkage = linkage }); |
| 145 | | 145 | |
| 146 | @export("__negsf2", @import("compiler_rt/negXf2.zig").__negsf2, linkage); | 146 | @export(@import("compiler_rt/negXf2.zig").__negsf2, .{ .name = "__negsf2", .linkage = linkage }); |
| 147 | @export("__negdf2", @import("compiler_rt/negXf2.zig").__negdf2, linkage); | 147 | @export(@import("compiler_rt/negXf2.zig").__negdf2, .{ .name = "__negdf2", .linkage = linkage }); |
| 148 | | 148 | |
| 149 | if (is_arm_arch and !is_arm_64 and !is_test) { | 149 | if (is_arm_arch and !is_arm_64 and !is_test) { |
| 150 | @export("__aeabi_unwind_cpp_pr0", __aeabi_unwind_cpp_pr0, strong_linkage); | 150 | @export(__aeabi_unwind_cpp_pr0, .{ .name = "__aeabi_unwind_cpp_pr0", .linkage = strong_linkage }); |
| 151 | @export("__aeabi_unwind_cpp_pr1", __aeabi_unwind_cpp_pr1, linkage); | 151 | @export(__aeabi_unwind_cpp_pr1, .{ .name = "__aeabi_unwind_cpp_pr1", .linkage = linkage }); |
| 152 | @export("__aeabi_unwind_cpp_pr2", __aeabi_unwind_cpp_pr2, linkage); | 152 | @export(__aeabi_unwind_cpp_pr2, .{ .name = "__aeabi_unwind_cpp_pr2", .linkage = linkage }); |
| 153 | | 153 | |
| 154 | @export("__aeabi_lmul", @import("compiler_rt/muldi3.zig").__muldi3, linkage); | 154 | @export(@import("compiler_rt/muldi3.zig").__muldi3, .{ .name = "__aeabi_lmul", .linkage = linkage }); |
| 155 | | 155 | |
| 156 | @export("__aeabi_ldivmod", __aeabi_ldivmod, linkage); | 156 | @export(__aeabi_ldivmod, .{ .name = "__aeabi_ldivmod", .linkage = linkage }); |
| 157 | @export("__aeabi_uldivmod", __aeabi_uldivmod, linkage); | 157 | @export(__aeabi_uldivmod, .{ .name = "__aeabi_uldivmod", .linkage = linkage }); |
| 158 | | 158 | |
| 159 | @export("__aeabi_idiv", __divsi3, linkage); | 159 | @export(__divsi3, .{ .name = "__aeabi_idiv", .linkage = linkage }); |
| 160 | @export("__aeabi_idivmod", __aeabi_idivmod, linkage); | 160 | @export(__aeabi_idivmod, .{ .name = "__aeabi_idivmod", .linkage = linkage }); |
| 161 | @export("__aeabi_uidiv", __udivsi3, linkage); | 161 | @export(__udivsi3, .{ .name = "__aeabi_uidiv", .linkage = linkage }); |
| 162 | @export("__aeabi_uidivmod", __aeabi_uidivmod, linkage); | 162 | @export(__aeabi_uidivmod, .{ .name = "__aeabi_uidivmod", .linkage = linkage }); |
| 163 | | 163 | |
| 164 | @export("__aeabi_memcpy", __aeabi_memcpy, linkage); | 164 | @export(__aeabi_memcpy, .{ .name = "__aeabi_memcpy", .linkage = linkage }); |
| 165 | @export("__aeabi_memcpy4", __aeabi_memcpy, linkage); | 165 | @export(__aeabi_memcpy, .{ .name = "__aeabi_memcpy4", .linkage = linkage }); |
| 166 | @export("__aeabi_memcpy8", __aeabi_memcpy, linkage); | 166 | @export(__aeabi_memcpy, .{ .name = "__aeabi_memcpy8", .linkage = linkage }); |
| 167 | | 167 | |
| 168 | @export("__aeabi_memmove", __aeabi_memmove, linkage); | 168 | @export(__aeabi_memmove, .{ .name = "__aeabi_memmove", .linkage = linkage }); |
| 169 | @export("__aeabi_memmove4", __aeabi_memmove, linkage); | 169 | @export(__aeabi_memmove, .{ .name = "__aeabi_memmove4", .linkage = linkage }); |
| 170 | @export("__aeabi_memmove8", __aeabi_memmove, linkage); | 170 | @export(__aeabi_memmove, .{ .name = "__aeabi_memmove8", .linkage = linkage }); |
| 171 | | 171 | |
| 172 | @export("__aeabi_memset", __aeabi_memset, linkage); | 172 | @export(__aeabi_memset, .{ .name = "__aeabi_memset", .linkage = linkage }); |
| 173 | @export("__aeabi_memset4", __aeabi_memset, linkage); | 173 | @export(__aeabi_memset, .{ .name = "__aeabi_memset4", .linkage = linkage }); |
| 174 | @export("__aeabi_memset8", __aeabi_memset, linkage); | 174 | @export(__aeabi_memset, .{ .name = "__aeabi_memset8", .linkage = linkage }); |
| 175 | | 175 | |
| 176 | @export("__aeabi_memclr", __aeabi_memclr, linkage); | 176 | @export(__aeabi_memclr, .{ .name = "__aeabi_memclr", .linkage = linkage }); |
| 177 | @export("__aeabi_memclr4", __aeabi_memclr, linkage); | 177 | @export(__aeabi_memclr, .{ .name = "__aeabi_memclr4", .linkage = linkage }); |
| 178 | @export("__aeabi_memclr8", __aeabi_memclr, linkage); | 178 | @export(__aeabi_memclr, .{ .name = "__aeabi_memclr8", .linkage = linkage }); |
| 179 | | 179 | |
| 180 | @export("__aeabi_memcmp", __aeabi_memcmp, linkage); | 180 | @export(__aeabi_memcmp, .{ .name = "__aeabi_memcmp", .linkage = linkage }); |
| 181 | @export("__aeabi_memcmp4", __aeabi_memcmp, linkage); | 181 | @export(__aeabi_memcmp, .{ .name = "__aeabi_memcmp4", .linkage = linkage }); |
| 182 | @export("__aeabi_memcmp8", __aeabi_memcmp, linkage); | 182 | @export(__aeabi_memcmp, .{ .name = "__aeabi_memcmp8", .linkage = linkage }); |
| 183 | | 183 | |
| 184 | @export("__aeabi_f2d", @import("compiler_rt/extendXfYf2.zig").__aeabi_f2d, linkage); | 184 | @export(@import("compiler_rt/extendXfYf2.zig").__aeabi_f2d, .{ .name = "__aeabi_f2d", .linkage = linkage }); |
| 185 | @export("__aeabi_i2d", @import("compiler_rt/floatsiXf.zig").__aeabi_i2d, linkage); | 185 | @export(@import("compiler_rt/floatsiXf.zig").__aeabi_i2d, .{ .name = "__aeabi_i2d", .linkage = linkage }); |
| 186 | @export("__aeabi_l2d", @import("compiler_rt/floatdidf.zig").__aeabi_l2d, linkage); | 186 | @export(@import("compiler_rt/floatdidf.zig").__aeabi_l2d, .{ .name = "__aeabi_l2d", .linkage = linkage }); |
| 187 | @export("__aeabi_ui2d", @import("compiler_rt/floatunsidf.zig").__aeabi_ui2d, linkage); | 187 | @export(@import("compiler_rt/floatunsidf.zig").__aeabi_ui2d, .{ .name = "__aeabi_ui2d", .linkage = linkage }); |
| 188 | @export("__aeabi_ul2d", @import("compiler_rt/floatundidf.zig").__aeabi_ul2d, linkage); | 188 | @export(@import("compiler_rt/floatundidf.zig").__aeabi_ul2d, .{ .name = "__aeabi_ul2d", .linkage = linkage }); |
| 189 | @export("__aeabi_ui2f", @import("compiler_rt/floatunsisf.zig").__aeabi_ui2f, linkage); | 189 | @export(@import("compiler_rt/floatunsisf.zig").__aeabi_ui2f, .{ .name = "__aeabi_ui2f", .linkage = linkage }); |
| 190 | @export("__aeabi_ul2f", @import("compiler_rt/floatundisf.zig").__aeabi_ul2f, linkage); | 190 | @export(@import("compiler_rt/floatundisf.zig").__aeabi_ul2f, .{ .name = "__aeabi_ul2f", .linkage = linkage }); |
| 191 | | 191 | |
| 192 | @export("__aeabi_fneg", @import("compiler_rt/negXf2.zig").__aeabi_fneg, linkage); | 192 | @export(@import("compiler_rt/negXf2.zig").__aeabi_fneg, .{ .name = "__aeabi_fneg", .linkage = linkage }); |
| 193 | @export("__aeabi_dneg", @import("compiler_rt/negXf2.zig").__aeabi_dneg, linkage); | 193 | @export(@import("compiler_rt/negXf2.zig").__aeabi_dneg, .{ .name = "__aeabi_dneg", .linkage = linkage }); |
| 194 | | 194 | |
| 195 | @export("__aeabi_fmul", @import("compiler_rt/mulXf3.zig").__aeabi_fmul, linkage); | 195 | @export(@import("compiler_rt/mulXf3.zig").__aeabi_fmul, .{ .name = "__aeabi_fmul", .linkage = linkage }); |
| 196 | @export("__aeabi_dmul", @import("compiler_rt/mulXf3.zig").__aeabi_dmul, linkage); | 196 | @export(@import("compiler_rt/mulXf3.zig").__aeabi_dmul, .{ .name = "__aeabi_dmul", .linkage = linkage }); |
| 197 | | 197 | |
| 198 | @export("__aeabi_d2h", @import("compiler_rt/truncXfYf2.zig").__aeabi_d2h, linkage); | 198 | @export(@import("compiler_rt/truncXfYf2.zig").__aeabi_d2h, .{ .name = "__aeabi_d2h", .linkage = linkage }); |
| 199 | | 199 | |
| 200 | @export("__aeabi_f2ulz", @import("compiler_rt/fixunssfdi.zig").__aeabi_f2ulz, linkage); | 200 | @export(@import("compiler_rt/fixunssfdi.zig").__aeabi_f2ulz, .{ .name = "__aeabi_f2ulz", .linkage = linkage }); |
| 201 | @export("__aeabi_d2ulz", @import("compiler_rt/fixunsdfdi.zig").__aeabi_d2ulz, linkage); | 201 | @export(@import("compiler_rt/fixunsdfdi.zig").__aeabi_d2ulz, .{ .name = "__aeabi_d2ulz", .linkage = linkage }); |
| 202 | | 202 | |
| 203 | @export("__aeabi_f2lz", @import("compiler_rt/fixsfdi.zig").__aeabi_f2lz, linkage); | 203 | @export(@import("compiler_rt/fixsfdi.zig").__aeabi_f2lz, .{ .name = "__aeabi_f2lz", .linkage = linkage }); |
| 204 | @export("__aeabi_d2lz", @import("compiler_rt/fixdfdi.zig").__aeabi_d2lz, linkage); | 204 | @export(@import("compiler_rt/fixdfdi.zig").__aeabi_d2lz, .{ .name = "__aeabi_d2lz", .linkage = linkage }); |
| 205 | | 205 | |
| 206 | @export("__aeabi_d2uiz", @import("compiler_rt/fixunsdfsi.zig").__aeabi_d2uiz, linkage); | 206 | @export(@import("compiler_rt/fixunsdfsi.zig").__aeabi_d2uiz, .{ .name = "__aeabi_d2uiz", .linkage = linkage }); |
| 207 | | 207 | |
| 208 | @export("__aeabi_h2f", @import("compiler_rt/extendXfYf2.zig").__aeabi_h2f, linkage); | 208 | @export(@import("compiler_rt/extendXfYf2.zig").__aeabi_h2f, .{ .name = "__aeabi_h2f", .linkage = linkage }); |
| 209 | @export("__aeabi_f2h", @import("compiler_rt/truncXfYf2.zig").__aeabi_f2h, linkage); | 209 | @export(@import("compiler_rt/truncXfYf2.zig").__aeabi_f2h, .{ .name = "__aeabi_f2h", .linkage = linkage }); |
| 210 | | 210 | |
| 211 | @export("__aeabi_i2f", @import("compiler_rt/floatsiXf.zig").__aeabi_i2f, linkage); | 211 | @export(@import("compiler_rt/floatsiXf.zig").__aeabi_i2f, .{ .name = "__aeabi_i2f", .linkage = linkage }); |
| 212 | @export("__aeabi_d2f", @import("compiler_rt/truncXfYf2.zig").__aeabi_d2f, linkage); | 212 | @export(@import("compiler_rt/truncXfYf2.zig").__aeabi_d2f, .{ .name = "__aeabi_d2f", .linkage = linkage }); |
| 213 | | 213 | |
| 214 | @export("__aeabi_fadd", @import("compiler_rt/addXf3.zig").__aeabi_fadd, linkage); | 214 | @export(@import("compiler_rt/addXf3.zig").__aeabi_fadd, .{ .name = "__aeabi_fadd", .linkage = linkage }); |
| 215 | @export("__aeabi_dadd", @import("compiler_rt/addXf3.zig").__aeabi_dadd, linkage); | 215 | @export(@import("compiler_rt/addXf3.zig").__aeabi_dadd, .{ .name = "__aeabi_dadd", .linkage = linkage }); |
| 216 | @export("__aeabi_fsub", @import("compiler_rt/addXf3.zig").__aeabi_fsub, linkage); | 216 | @export(@import("compiler_rt/addXf3.zig").__aeabi_fsub, .{ .name = "__aeabi_fsub", .linkage = linkage }); |
| 217 | @export("__aeabi_dsub", @import("compiler_rt/addXf3.zig").__aeabi_dsub, linkage); | 217 | @export(@import("compiler_rt/addXf3.zig").__aeabi_dsub, .{ .name = "__aeabi_dsub", .linkage = linkage }); |
| 218 | | 218 | |
| 219 | @export("__aeabi_f2uiz", @import("compiler_rt/fixunssfsi.zig").__aeabi_f2uiz, linkage); | 219 | @export(@import("compiler_rt/fixunssfsi.zig").__aeabi_f2uiz, .{ .name = "__aeabi_f2uiz", .linkage = linkage }); |
| 220 | | 220 | |
| 221 | @export("__aeabi_f2iz", @import("compiler_rt/fixsfsi.zig").__aeabi_f2iz, linkage); | 221 | @export(@import("compiler_rt/fixsfsi.zig").__aeabi_f2iz, .{ .name = "__aeabi_f2iz", .linkage = linkage }); |
| 222 | @export("__aeabi_d2iz", @import("compiler_rt/fixdfsi.zig").__aeabi_d2iz, linkage); | 222 | @export(@import("compiler_rt/fixdfsi.zig").__aeabi_d2iz, .{ .name = "__aeabi_d2iz", .linkage = linkage }); |
| 223 | | 223 | |
| 224 | @export("__aeabi_fdiv", @import("compiler_rt/divsf3.zig").__aeabi_fdiv, linkage); | 224 | @export(@import("compiler_rt/divsf3.zig").__aeabi_fdiv, .{ .name = "__aeabi_fdiv", .linkage = linkage }); |
| 225 | @export("__aeabi_ddiv", @import("compiler_rt/divdf3.zig").__aeabi_ddiv, linkage); | 225 | @export(@import("compiler_rt/divdf3.zig").__aeabi_ddiv, .{ .name = "__aeabi_ddiv", .linkage = linkage }); |
| 226 | | 226 | |
| 227 | @export("__aeabi_fcmpeq", @import("compiler_rt/arm/aeabi_fcmp.zig").__aeabi_fcmpeq, linkage); | 227 | @export(@import("compiler_rt/arm/aeabi_fcmp.zig").__aeabi_fcmpeq, .{ .name = "__aeabi_fcmpeq", .linkage = linkage }); |
| 228 | @export("__aeabi_fcmplt", @import("compiler_rt/arm/aeabi_fcmp.zig").__aeabi_fcmplt, linkage); | 228 | @export(@import("compiler_rt/arm/aeabi_fcmp.zig").__aeabi_fcmplt, .{ .name = "__aeabi_fcmplt", .linkage = linkage }); |
| 229 | @export("__aeabi_fcmple", @import("compiler_rt/arm/aeabi_fcmp.zig").__aeabi_fcmple, linkage); | 229 | @export(@import("compiler_rt/arm/aeabi_fcmp.zig").__aeabi_fcmple, .{ .name = "__aeabi_fcmple", .linkage = linkage }); |
| 230 | @export("__aeabi_fcmpge", @import("compiler_rt/arm/aeabi_fcmp.zig").__aeabi_fcmpge, linkage); | 230 | @export(@import("compiler_rt/arm/aeabi_fcmp.zig").__aeabi_fcmpge, .{ .name = "__aeabi_fcmpge", .linkage = linkage }); |
| 231 | @export("__aeabi_fcmpgt", @import("compiler_rt/arm/aeabi_fcmp.zig").__aeabi_fcmpgt, linkage); | 231 | @export(@import("compiler_rt/arm/aeabi_fcmp.zig").__aeabi_fcmpgt, .{ .name = "__aeabi_fcmpgt", .linkage = linkage }); |
| 232 | @export("__aeabi_fcmpun", @import("compiler_rt/comparesf2.zig").__aeabi_fcmpun, linkage); | 232 | @export(@import("compiler_rt/comparesf2.zig").__aeabi_fcmpun, .{ .name = "__aeabi_fcmpun", .linkage = linkage }); |
| 233 | | 233 | |
| 234 | @export("__aeabi_dcmpeq", @import("compiler_rt/arm/aeabi_dcmp.zig").__aeabi_dcmpeq, linkage); | 234 | @export(@import("compiler_rt/arm/aeabi_dcmp.zig").__aeabi_dcmpeq, .{ .name = "__aeabi_dcmpeq", .linkage = linkage }); |
| 235 | @export("__aeabi_dcmplt", @import("compiler_rt/arm/aeabi_dcmp.zig").__aeabi_dcmplt, linkage); | 235 | @export(@import("compiler_rt/arm/aeabi_dcmp.zig").__aeabi_dcmplt, .{ .name = "__aeabi_dcmplt", .linkage = linkage }); |
| 236 | @export("__aeabi_dcmple", @import("compiler_rt/arm/aeabi_dcmp.zig").__aeabi_dcmple, linkage); | 236 | @export(@import("compiler_rt/arm/aeabi_dcmp.zig").__aeabi_dcmple, .{ .name = "__aeabi_dcmple", .linkage = linkage }); |
| 237 | @export("__aeabi_dcmpge", @import("compiler_rt/arm/aeabi_dcmp.zig").__aeabi_dcmpge, linkage); | 237 | @export(@import("compiler_rt/arm/aeabi_dcmp.zig").__aeabi_dcmpge, .{ .name = "__aeabi_dcmpge", .linkage = linkage }); |
| 238 | @export("__aeabi_dcmpgt", @import("compiler_rt/arm/aeabi_dcmp.zig").__aeabi_dcmpgt, linkage); | 238 | @export(@import("compiler_rt/arm/aeabi_dcmp.zig").__aeabi_dcmpgt, .{ .name = "__aeabi_dcmpgt", .linkage = linkage }); |
| 239 | @export("__aeabi_dcmpun", @import("compiler_rt/comparedf2.zig").__aeabi_dcmpun, linkage); | 239 | @export(@import("compiler_rt/comparedf2.zig").__aeabi_dcmpun, .{ .name = "__aeabi_dcmpun", .linkage = linkage }); |
| 240 | } | 240 | } |
| 241 | if (builtin.os == .windows) { | 241 | if (builtin.os == .windows) { |
| 242 | // Default stack-probe functions emitted by LLVM | 242 | // Default stack-probe functions emitted by LLVM |
| 243 | if (is_mingw) { | 243 | if (is_mingw) { |
| 244 | @export("_alloca", @import("compiler_rt/stack_probe.zig")._chkstk, strong_linkage); | 244 | @export(@import("compiler_rt/stack_probe.zig")._chkstk, .{ .name = "_alloca", .linkage = strong_linkage }); |
| 245 | @export("___chkstk_ms", @import("compiler_rt/stack_probe.zig").___chkstk_ms, strong_linkage); | 245 | @export(@import("compiler_rt/stack_probe.zig").___chkstk_ms, .{ .name = "___chkstk_ms", .linkage = strong_linkage }); |
| 246 | } else if (!builtin.link_libc) { | 246 | } else if (!builtin.link_libc) { |
| 247 | // This symbols are otherwise exported by MSVCRT.lib | 247 | // This symbols are otherwise exported by MSVCRT.lib |
| 248 | @export("_chkstk", @import("compiler_rt/stack_probe.zig")._chkstk, strong_linkage); | 248 | @export(@import("compiler_rt/stack_probe.zig")._chkstk, .{ .name = "_chkstk", .linkage = strong_linkage }); |
| 249 | @export("__chkstk", @import("compiler_rt/stack_probe.zig").__chkstk, strong_linkage); | 249 | @export(@import("compiler_rt/stack_probe.zig").__chkstk, .{ .name = "__chkstk", .linkage = strong_linkage }); |
| 250 | } | 250 | } |
| 251 | | 251 | |
| 252 | if (is_mingw) { | 252 | if (is_mingw) { |
| 253 | @export("__stack_chk_fail", __stack_chk_fail, strong_linkage); | 253 | @export(__stack_chk_fail, .{ .name = "__stack_chk_fail", .linkage = strong_linkage }); |
| 254 | @export("__stack_chk_guard", __stack_chk_guard, strong_linkage); | 254 | @export(__stack_chk_guard, .{ .name = "__stack_chk_guard", .linkage = strong_linkage }); |
| 255 | } | 255 | } |
| 256 | | 256 | |
| 257 | switch (builtin.arch) { | 257 | switch (builtin.arch) { |
| 258 | .i386 => { | 258 | .i386 => { |
| 259 | // Don't let LLVM apply the stdcall name mangling on those MSVC | 259 | // Don't let LLVM apply the stdcall name mangling on those MSVC |
| 260 | // builtin functions | 260 | // builtin functions |
| 261 | @export("\x01__alldiv", @import("compiler_rt/aulldiv.zig")._alldiv, strong_linkage); | 261 | @export(@import("compiler_rt/aulldiv.zig")._alldiv, .{ .name = "\x01__alldiv", .linkage = strong_linkage }); |
| 262 | @export("\x01__aulldiv", @import("compiler_rt/aulldiv.zig")._aulldiv, strong_linkage); | 262 | @export(@import("compiler_rt/aulldiv.zig")._aulldiv, .{ .name = "\x01__aulldiv", .linkage = strong_linkage }); |
| 263 | @export("\x01__allrem", @import("compiler_rt/aullrem.zig")._allrem, strong_linkage); | 263 | @export(@import("compiler_rt/aullrem.zig")._allrem, .{ .name = "\x01__allrem", .linkage = strong_linkage }); |
| 264 | @export("\x01__aullrem", @import("compiler_rt/aullrem.zig")._aullrem, strong_linkage); | 264 | @export(@import("compiler_rt/aullrem.zig")._aullrem, .{ .name = "\x01__aullrem", .linkage = strong_linkage }); |
| 265 | | 265 | |
| 266 | @export("__divti3", @import("compiler_rt/divti3.zig").__divti3, linkage); | 266 | @export(@import("compiler_rt/divti3.zig").__divti3, .{ .name = "__divti3", .linkage = linkage }); |
| 267 | @export("__modti3", @import("compiler_rt/modti3.zig").__modti3, linkage); | 267 | @export(@import("compiler_rt/modti3.zig").__modti3, .{ .name = "__modti3", .linkage = linkage }); |
| 268 | @export("__multi3", @import("compiler_rt/multi3.zig").__multi3, linkage); | 268 | @export(@import("compiler_rt/multi3.zig").__multi3, .{ .name = "__multi3", .linkage = linkage }); |
| 269 | @export("__udivti3", @import("compiler_rt/udivti3.zig").__udivti3, linkage); | 269 | @export(@import("compiler_rt/udivti3.zig").__udivti3, .{ .name = "__udivti3", .linkage = linkage }); |
| 270 | @export("__udivmodti4", @import("compiler_rt/udivmodti4.zig").__udivmodti4, linkage); | 270 | @export(@import("compiler_rt/udivmodti4.zig").__udivmodti4, .{ .name = "__udivmodti4", .linkage = linkage }); |
| 271 | @export("__umodti3", @import("compiler_rt/umodti3.zig").__umodti3, linkage); | 271 | @export(@import("compiler_rt/umodti3.zig").__umodti3, .{ .name = "__umodti3", .linkage = linkage }); |
| 272 | }, | 272 | }, |
| 273 | .x86_64 => { | 273 | .x86_64 => { |
| 274 | // The "ti" functions must use @Vector(2, u64) parameter types to adhere to the ABI | 274 | // The "ti" functions must use @Vector(2, u64) parameter types to adhere to the ABI |
| 275 | // that LLVM expects compiler-rt to have. | 275 | // that LLVM expects compiler-rt to have. |
| 276 | @export("__divti3", @import("compiler_rt/divti3.zig").__divti3_windows_x86_64, linkage); | 276 | @export(@import("compiler_rt/divti3.zig").__divti3_windows_x86_64, .{ .name = "__divti3", .linkage = linkage }); |
| 277 | @export("__modti3", @import("compiler_rt/modti3.zig").__modti3_windows_x86_64, linkage); | 277 | @export(@import("compiler_rt/modti3.zig").__modti3_windows_x86_64, .{ .name = "__modti3", .linkage = linkage }); |
| 278 | @export("__multi3", @import("compiler_rt/multi3.zig").__multi3_windows_x86_64, linkage); | 278 | @export(@import("compiler_rt/multi3.zig").__multi3_windows_x86_64, .{ .name = "__multi3", .linkage = linkage }); |
| 279 | @export("__udivti3", @import("compiler_rt/udivti3.zig").__udivti3_windows_x86_64, linkage); | 279 | @export(@import("compiler_rt/udivti3.zig").__udivti3_windows_x86_64, .{ .name = "__udivti3", .linkage = linkage }); |
| 280 | @export("__udivmodti4", @import("compiler_rt/udivmodti4.zig").__udivmodti4_windows_x86_64, linkage); | 280 | @export(@import("compiler_rt/udivmodti4.zig").__udivmodti4_windows_x86_64, .{ .name = "__udivmodti4", .linkage = linkage }); |
| 281 | @export("__umodti3", @import("compiler_rt/umodti3.zig").__umodti3_windows_x86_64, linkage); | 281 | @export(@import("compiler_rt/umodti3.zig").__umodti3_windows_x86_64, .{ .name = "__umodti3", .linkage = linkage }); |
| 282 | }, | 282 | }, |
| 283 | else => {}, | 283 | else => {}, |
| 284 | } | 284 | } |
| 285 | } else { | 285 | } else { |
| 286 | if (builtin.glibc_version != null) { | 286 | if (builtin.glibc_version != null) { |
| 287 | @export("__stack_chk_guard", __stack_chk_guard, linkage); | 287 | @export(__stack_chk_guard, .{ .name = "__stack_chk_guard", .linkage = linkage }); |
| 288 | } | 288 | } |
| 289 | @export("__divti3", @import("compiler_rt/divti3.zig").__divti3, linkage); | 289 | @export(@import("compiler_rt/divti3.zig").__divti3, .{ .name = "__divti3", .linkage = linkage }); |
| 290 | @export("__modti3", @import("compiler_rt/modti3.zig").__modti3, linkage); | 290 | @export(@import("compiler_rt/modti3.zig").__modti3, .{ .name = "__modti3", .linkage = linkage }); |
| 291 | @export("__multi3", @import("compiler_rt/multi3.zig").__multi3, linkage); | 291 | @export(@import("compiler_rt/multi3.zig").__multi3, .{ .name = "__multi3", .linkage = linkage }); |
| 292 | @export("__udivti3", @import("compiler_rt/udivti3.zig").__udivti3, linkage); | 292 | @export(@import("compiler_rt/udivti3.zig").__udivti3, .{ .name = "__udivti3", .linkage = linkage }); |
| 293 | @export("__udivmodti4", @import("compiler_rt/udivmodti4.zig").__udivmodti4, linkage); | 293 | @export(@import("compiler_rt/udivmodti4.zig").__udivmodti4, .{ .name = "__udivmodti4", .linkage = linkage }); |
| 294 | @export("__umodti3", @import("compiler_rt/umodti3.zig").__umodti3, linkage); | 294 | @export(@import("compiler_rt/umodti3.zig").__umodti3, .{ .name = "__umodti3", .linkage = linkage }); |
| 295 | } | 295 | } |
| 296 | @export("__muloti4", @import("compiler_rt/muloti4.zig").__muloti4, linkage); | 296 | @export(@import("compiler_rt/muloti4.zig").__muloti4, .{ .name = "__muloti4", .linkage = linkage }); |
| 297 | @export("__mulodi4", @import("compiler_rt/mulodi4.zig").__mulodi4, linkage); | 297 | @export(@import("compiler_rt/mulodi4.zig").__mulodi4, .{ .name = "__mulodi4", .linkage = linkage }); |
| 298 | } | 298 | } |
| 299 | | 299 | |
| 300 | const std = @import("std"); | 300 | const std = @import("std"); |