Hide _exit_with_stack_teardown.

Bug: 11156955
Change-Id: Ida3020343c9975177dc324918cd1f10c455eb173
This commit is contained in:
Elliott Hughes 2014-05-16 16:17:44 -07:00
parent aafa3d0e46
commit 31d0398de6
6 changed files with 6 additions and 6 deletions

View File

@ -29,7 +29,7 @@
#include <private/bionic_asm.h>
// void _exit_with_stack_teardown(void* stackBase, size_t stackSize)
ENTRY(_exit_with_stack_teardown)
ENTRY_PRIVATE(_exit_with_stack_teardown)
ldr r7, =__NR_munmap
swi #0
// If munmap failed, we ignore the failure and exit anyway.

View File

@ -29,7 +29,7 @@
#include <private/bionic_asm.h>
// void _exit_with_stack_teardown(void* stackBase, size_t stackSize)
ENTRY(_exit_with_stack_teardown)
ENTRY_PRIVATE(_exit_with_stack_teardown)
mov w8, __NR_munmap
svc #0
// If munmap failed, we ignore the failure and exit anyway.

View File

@ -29,7 +29,7 @@
#include <private/bionic_asm.h>
// void _exit_with_stack_teardown(void* stackBase, size_t stackSize)
ENTRY(_exit_with_stack_teardown)
ENTRY_PRIVATE(_exit_with_stack_teardown)
li v0, __NR_munmap
syscall
// If munmap failed, we ignore the failure and exit anyway.

View File

@ -29,7 +29,7 @@
#include <private/bionic_asm.h>
// void _exit_with_stack_teardown(void* stackBase, size_t stackSize)
ENTRY(_exit_with_stack_teardown)
ENTRY_PRIVATE(_exit_with_stack_teardown)
li v0, __NR_munmap
syscall
// If munmap failed, we ignore the failure and exit anyway.

View File

@ -1,7 +1,7 @@
#include <private/bionic_asm.h>
// void _exit_with_stack_teardown(void* stackBase, size_t stackSize)
ENTRY(_exit_with_stack_teardown)
ENTRY_PRIVATE(_exit_with_stack_teardown)
// We can trash registers because this function never returns.
mov 4(%esp), %ebx // stackBase
mov 8(%esp), %ecx // stackSize

View File

@ -29,7 +29,7 @@
#include <private/bionic_asm.h>
// void _exit_with_stack_teardown(void* stackBase, size_t stackSize)
ENTRY(_exit_with_stack_teardown)
ENTRY_PRIVATE(_exit_with_stack_teardown)
mov $__NR_munmap, %eax
syscall
// If munmap failed, we ignore the failure and exit anyway.