Browse Source

* Fixed crash during dll loading on android-i386 (Stupid error because I am not comfortable with at&t i386 assembler syntax). Issue #25435.

git-svn-id: trunk@26269 -
yury 11 years ago
parent
commit
90b8e051cb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/android/i386/dllprt0.as

+ 1 - 1
rtl/android/i386/dllprt0.as

@@ -31,7 +31,7 @@ FPC_SHARED_LIB_START:
         /* Get environment info from libc */
         movl    environ,%eax
         /* Check if environment is NULL */
-        cmpl    %eax,0
+        test    %eax,%eax
         jne     env_ok
         leal    EmptyEnv,%eax
 env_ok: