loader: Fix TEXTREL on 32-bit linux loader
authorLenny Komow <lenny@lunarg.com>
Fri, 6 Oct 2017 17:13:15 +0000 (11:13 -0600)
committerLenny Komow <lenny@lunarg.com>
Fri, 6 Oct 2017 17:19:03 +0000 (11:19 -0600)
Change-Id: I5fc568ce0ad17c280c484f37b2797eead08169b3

loader/unknown_ext_chain_gas.asm

index 798760b..aca92ea 100644 (file)
@@ -89,7 +89,7 @@ vkPhysDevExtTermin\num:
 terminError\num:
     mov     eax, [eax + INSTANCE_OFFSET_ICD_TERM]                               # Load the loader_instance into eax
     push    [eax + (HASH_OFFSET_INSTANCE + (HASH_SIZE * \num) + FUNC_NAME_OFFSET_HASH)] # 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    VK_DEBUG_REPORT_ERROR_BIT_EXT                                       # Push the error logging bit (second arg)
     push    eax                                                                 # Push the loader_instance (first arg)