diff options
author | Charles Giessen <charles@lunarg.com> | 2022-04-07 00:29:47 +0300 |
---|---|---|
committer | Charles Giessen <46324611+charles-lunarg@users.noreply.github.com> | 2022-04-07 00:43:25 +0300 |
commit | e7f0c7535447fd6d471b3716a2e27ff4c09ab383 (patch) | |
tree | 8a94bf10e4099eda5b231ebb713a201fb9ce4b9d | |
parent | ae24c6e79107e11df218cff8107f35a248d6e264 (diff) |
Revert 32bit linux unknown ext chain change
Fix breaking of builds due to the dropping of GOT addressing mode.
-rw-r--r-- | loader/unknown_ext_chain_gas_x86.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/unknown_ext_chain_gas_x86.S b/loader/unknown_ext_chain_gas_x86.S index b1c4b3d7f..496208ddf 100644 --- a/loader/unknown_ext_chain_gas_x86.S +++ b/loader/unknown_ext_chain_gas_x86.S @@ -101,7 +101,7 @@ vkPhysDevExtTermin\num: terminError\num: mov eax, dword ptr [eax + INSTANCE_OFFSET_ICD_TERM] # Load the loader_instance into eax push dword ptr [eax + (FUNCTION_OFFSET_INSTANCE + (CHAR_PTR_SIZE * \num))] # Push the func name (fifth arg) - push offset termin_error_string # Push the error string (fourth arg) + push offset termin_error_string@GOT # Push the error string (fourth arg) push 0 # Push zero (third arg) push VULKAN_LOADER_ERROR_BIT # Push the error logging bit (second arg) push eax # Push the loader_instance (first arg) |