am 5f98c5a5: am df3aa079: am 55b4c8a4: Merge "Hide the __bionic_clone and __bionic_clone_entry implementation details."

* commit '5f98c5a54a63be80c59bcdf0d278c3e37cf9b325':
  Hide the __bionic_clone and __bionic_clone_entry implementation details.
This commit is contained in:
Elliott Hughes
2014-05-09 16:26:26 +00:00
committed by Android Git Automerger
9 changed files with 15 additions and 17 deletions

View File

@@ -71,3 +71,4 @@ ENTRY(__bionic_clone)
ldr r1, [sp, #-8]
b __bionic_clone_entry
END(__bionic_clone)
.hidden __bionic_clone

View File

@@ -61,3 +61,4 @@ ENTRY(__bionic_clone)
ldp x0, x1, [sp, #-16]
b __bionic_clone_entry
END(__bionic_clone)
.hidden __bionic_clone

View File

@@ -66,3 +66,4 @@ ENTRY(__bionic_clone)
la t9,__set_errno
j t9
END(__bionic_clone)
.hidden __bionic_clone

View File

@@ -95,3 +95,4 @@ LEAF(__bionic_clone, FRAMESZ)
PTR_ADDU sp,FRAMESZ
j t9
END(__bionic_clone)
.hidden __bionic_clone

View File

@@ -51,3 +51,4 @@ bc_return:
popl %ebx
ret
END(__bionic_clone)
.hidden __bionic_clone

View File

@@ -70,3 +70,4 @@ ENTRY(__bionic_clone)
2:
ret
END(__bionic_clone)
.hidden __bionic_clone

View File

@@ -35,7 +35,7 @@ extern "C" pid_t __bionic_clone(uint32_t flags, void* child_stack, int* parent_t
extern "C" void __exit(int status);
// Called from the __bionic_clone assembler to call the thread function then exit.
extern "C" void __bionic_clone_entry(int (*fn)(void*), void* arg) {
extern "C" __LIBC_HIDDEN__ void __bionic_clone_entry(int (*fn)(void*), void* arg) {
int status = (*fn)(arg);
__exit(status);
}