mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 12:39:31 +03:00
rt: Remove leading underscore on Win64
Win64 convention does not use underscore.
This commit is contained in:
@@ -54,7 +54,7 @@ First four arguments:
|
||||
anyhow.
|
||||
*/
|
||||
|
||||
#if defined(__APPLE__) || defined(_WIN32)
|
||||
#if defined(__APPLE__)
|
||||
#define SWAP_REGISTERS _swap_registers
|
||||
#else
|
||||
#define SWAP_REGISTERS swap_registers
|
||||
|
||||
@@ -18,10 +18,13 @@
|
||||
|
||||
.text
|
||||
|
||||
#if defined(__APPLE__) || defined(_WIN32)
|
||||
#if defined(__APPLE__)
|
||||
.globl ___morestack
|
||||
.private_extern MORESTACK
|
||||
___morestack:
|
||||
#elif defined(_WIN32)
|
||||
.globl __morestack
|
||||
__morestack:
|
||||
#else
|
||||
.globl __morestack
|
||||
.hidden __morestack
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
.text
|
||||
|
||||
#if defined(__APPLE__) || defined(_WIN32)
|
||||
#if defined(__APPLE__)
|
||||
#define UPCALL_NEW_STACK _upcall_new_stack
|
||||
#define UPCALL_DEL_STACK _upcall_del_stack
|
||||
#define MORESTACK ___morestack
|
||||
|
||||
Reference in New Issue
Block a user