Skip to content

Commit c8a589b

Browse files
committed
---
yaml --- r: 6685 b: refs/heads/master c: 5b35c9c h: refs/heads/master i: 6683: 5005ff4 v: v3
1 parent 0cf306c commit c8a589b

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 283cf3541565ce12cc267fed6ef064a24325d1f5
2+
refs/heads/master: 5b35c9caf5aa0b6811f0edd9e1cfdc0d2d702111

trunk/src/comp/back/link.rs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ mod write {
244244
buf_o,
245245
LLVMAssemblyFile,
246246
CodeGenOptLevel,
247-
opts.stack_growth)})});
247+
true)})});
248248
}
249249

250250

@@ -264,7 +264,7 @@ mod write {
264264
buf_o,
265265
LLVMObjectFile,
266266
CodeGenOptLevel,
267-
opts.stack_growth)})});
267+
true)})});
268268
}
269269
} else {
270270
// If we aren't saving temps then just output the file
@@ -282,7 +282,7 @@ mod write {
282282
buf_o,
283283
FileType,
284284
CodeGenOptLevel,
285-
opts.stack_growth)})});
285+
true)})});
286286
}
287287
// Clean up and return
288288

@@ -651,9 +651,7 @@ fn link_binary(sess: session::session,
651651
}
652652

653653
// Stack growth requires statically linking a __morestack function
654-
if sess.get_opts().stack_growth {
655-
gcc_args += ["-lmorestack"];
656-
}
654+
gcc_args += ["-lmorestack"];
657655

658656
gcc_args += rpath::get_rpath_flags(sess, output);
659657

0 commit comments

Comments
 (0)