aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-06-15 23:09:56 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-06-17 16:38:59 -0700
commitc99c085d70c9347ec9a15d9a4f73c19e628912b7 (patch)
tree877b2d98b2611f8b4a1598f3c7b28e62f20ddd90 /src
parent47c834e477657113bccaaad32e91148ff837f1a4 (diff)
downloadzig-c99c085d70c9347ec9a15d9a4f73c19e628912b7.tar.gz
zig-c99c085d70c9347ec9a15d9a4f73c19e628912b7.zip
compiler-rt: break up functions even more
The purpose of this branch is to switch to using an object file for each independent function, in order to make linking simpler - instead of relying on `-ffunction-sections` and `--gc-sections`, which involves the linker doing the work of linking everything and then undoing work via garbage collection, this will allow the linker to only include the compilation units that are depended on in the first place. This commit makes progress towards that goal.
Diffstat (limited to 'src')
-rw-r--r--src/compiler_rt.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler_rt.zig b/src/compiler_rt.zig
index 5149ce192f..3418886a42 100644
--- a/src/compiler_rt.zig
+++ b/src/compiler_rt.zig
@@ -200,8 +200,8 @@ const sources = &[_][]const u8{
"compiler_rt/umodti3.zig",
"compiler_rt/truncXfYf2.zig",
"compiler_rt/trunc_f80.zig",
- "compiler_rt/addXf3.zig",
- "compiler_rt/mulXf3.zig",
+ "compiler_rt/addf3.zig",
+ "compiler_rt/mulf3.zig",
"compiler_rt/divsf3.zig",
"compiler_rt/divdf3.zig",
"compiler_rt/divxf3.zig",