Fix stack_chk_guard size on 32-bit
This commit is contained in:
@@ -100,6 +100,11 @@ pub unsafe extern "C" fn abort() -> ! {
|
||||
intrinsics::abort();
|
||||
}
|
||||
|
||||
#[cfg(not(target_pointer_width = "64"))]
|
||||
#[no_mangle]
|
||||
static __stack_chk_guard: uintptr_t = 0x19fcadfe;
|
||||
|
||||
#[cfg(target_pointer_width = "64")]
|
||||
#[no_mangle]
|
||||
static __stack_chk_guard: uintptr_t = 0xd048c37519fcadfe;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user