Skip to content

Commit 3b08b13

Browse files
committed
Disable PLT unconditionally
Apply the `NonLazyBind` attribute on every function.
1 parent 6ff0b50 commit 3b08b13

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustc_codegen_llvm/attributes.rs

+1
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ pub fn from_fn_attrs(
173173

174174
set_frame_pointer_elimination(cx, llfn);
175175
set_probestack(cx, llfn);
176+
Attribute::NonLazyBind.apply_llfn(Function, llfn);
176177

177178
if codegen_fn_attrs.flags.contains(CodegenFnAttrFlags::COLD) {
178179
Attribute::Cold.apply_llfn(Function, llfn);

0 commit comments

Comments
 (0)