Browse Source

* arm-android: Simplified _haltproc for dll.

git-svn-id: trunk@32022 -
yury 9 years ago
parent
commit
6fc8059a1f
1 changed files with 1 additions and 8 deletions
  1. 1 8
      rtl/android/arm/dllprt0.as

+ 1 - 8
rtl/android/arm/dllprt0.as

@@ -75,16 +75,9 @@ _haltproc:
         .globl  _haltproc_eabi
         .type   _haltproc_eabi,#function
 _haltproc_eabi:
-        ldr r0,.Loperatingsystem_result
-.LPIC10:
-        add r0,pc,r0
-        ldr r0,[r0]
-        /* Call libc exit() */
+        /* Simply call libc exit(). _haltproc has the same declaration as exit. */
         blx exit
 
-.Loperatingsystem_result:
-        .long operatingsystem_result-.LPIC10-8
-
 /* --------------------------------------------------------- */
 .data
         .comm __stkptr,4