Merge pull request #605 from nicholasbishop/bishop-i686-uefi
Enable chkstk/alloca intrinsics on i686-unknown-uefi
This commit is contained in:
commit
e30a71cc24
1 changed files with 2 additions and 4 deletions
|
|
@ -10,8 +10,7 @@ use core::intrinsics;
|
|||
intrinsics! {
|
||||
#[naked]
|
||||
#[cfg(all(
|
||||
windows,
|
||||
target_env = "gnu",
|
||||
any(all(windows, target_env = "gnu"), target_os = "uefi"),
|
||||
not(feature = "no-asm")
|
||||
))]
|
||||
pub unsafe extern "C" fn __chkstk() {
|
||||
|
|
@ -23,8 +22,7 @@ intrinsics! {
|
|||
|
||||
#[naked]
|
||||
#[cfg(all(
|
||||
windows,
|
||||
target_env = "gnu",
|
||||
any(all(windows, target_env = "gnu"), target_os = "uefi"),
|
||||
not(feature = "no-asm")
|
||||
))]
|
||||
pub unsafe extern "C" fn _alloca() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue