Skip to content

Commit

Permalink
Clear out ordinal/hint in *_gnu import libs
Browse files Browse the repository at this point in the history
  • Loading branch information
glandium committed Sep 10, 2022
1 parent c731c8a commit 25a1fd2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified crates/targets/i686_gnu/lib/libwindows.a
Binary file not shown.
Binary file modified crates/targets/x86_64_gnu/lib/libwindows.a
Binary file not shown.
4 changes: 2 additions & 2 deletions crates/tools/gnu/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ EXPORTS

for (function, calling_convention) in functions {
match calling_convention {
lib::CallingConvention::Stdcall(params) if platform.eq("i686_gnu") => def.write_all(format!("{}@{}\n", function, params).as_bytes()).unwrap(),
_ => def.write_all(format!("{}\n", function).as_bytes()).unwrap(),
lib::CallingConvention::Stdcall(params) if platform.eq("i686_gnu") => def.write_all(format!("{}@{} @ 0\n", function, params).as_bytes()).unwrap(),
_ => def.write_all(format!("{} @ 0\n", function).as_bytes()).unwrap(),
}
}

Expand Down

0 comments on commit 25a1fd2

Please sign in to comment.