Blame SOURCES/0001-loader-Fix-TEXTREL-on-32-bit-linux-loader.patch

b40a32
From 560f9cdf78d3d03dbf97be638becd1a7df5fa154 Mon Sep 17 00:00:00 2001
b40a32
From: Lenny Komow <lenny@lunarg.com>
b40a32
Date: Fri, 6 Oct 2017 11:13:15 -0600
b40a32
Subject: [PATCH] loader: Fix TEXTREL on 32-bit linux loader
b40a32
b40a32
Change-Id: I5fc568ce0ad17c280c484f37b2797eead08169b3
b40a32
---
b40a32
 loader/unknown_ext_chain_gas.asm | 2 +-
b40a32
 1 file changed, 1 insertion(+), 1 deletion(-)
b40a32
b40a32
diff --git a/loader/unknown_ext_chain_gas.asm b/loader/unknown_ext_chain_gas.asm
b40a32
index 798760b..aca92ea 100644
b40a32
--- a/loader/unknown_ext_chain_gas.asm
b40a32
+++ b/loader/unknown_ext_chain_gas.asm
b40a32
@@ -89,7 +89,7 @@ vkPhysDevExtTermin\num:
b40a32
 terminError\num:
b40a32
     mov     eax, [eax + INSTANCE_OFFSET_ICD_TERM]                               # Load the loader_instance into eax
b40a32
     push    [eax + (HASH_OFFSET_INSTANCE + (HASH_SIZE * \num) + FUNC_NAME_OFFSET_HASH)] # Push the func name (fifth arg)
b40a32
-    push    offset termin_error_string                                          # Push the error string (fourth arg)
b40a32
+    push    offset termin_error_string@GOT                                      # Push the error string (fourth arg)
b40a32
     push    0                                                                   # Push zero (third arg)
b40a32
     push    VK_DEBUG_REPORT_ERROR_BIT_EXT                                       # Push the error logging bit (second arg)
b40a32
     push    eax                                                                 # Push the loader_instance (first arg)
b40a32
-- 
b40a32
2.9.5
b40a32