aboutsummaryrefslogtreecommitdiff
path: root/src/link.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-02-19 08:39:36 -0500
committerAndrew Kelley <andrew@ziglang.org>2019-02-19 08:39:36 -0500
commitc9fb5240d6305bcef7db5e12b7676ba3d741c11e (patch)
tree486d3b17a280b14fa2e8f4dd6c76a99857380005 /src/link.cpp
parent007a260cda93004c93ef1c6f2e6155cb043188b6 (diff)
downloadzig-c9fb5240d6305bcef7db5e12b7676ba3d741c11e.tar.gz
zig-c9fb5240d6305bcef7db5e12b7676ba3d741c11e.zip
remove --no-rosegment workaround now that valgrind bug is fixed
See #896 Zig 0.3.0+ and Valgrind 3.14+ do not need the workaround.
Diffstat (limited to 'src/link.cpp')
-rw-r--r--src/link.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/link.cpp b/src/link.cpp
index f6f0c0ffcd..a3a68e24d4 100644
--- a/src/link.cpp
+++ b/src/link.cpp
@@ -231,9 +231,6 @@ static void construct_linker_job_elf(LinkJob *lj) {
lj->args.append(g->linker_script);
}
- if (g->no_rosegment_workaround) {
- lj->args.append("--no-rosegment");
- }
lj->args.append("--gc-sections");
lj->args.append("-m");