Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
rockchip_bionic
Commits
0952a554
Commit
0952a554
authored
10 years ago
by
Elliott Hughes
Committed by
Gerrit Code Review
10 years ago
Browse files
Options
Download
Plain Diff
Merge "Use the stmdb instead of str to save the fn/arg"
parents
6a684524
c3d17285
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
libc/arch-arm/bionic/__bionic_clone.S
libc/arch-arm/bionic/__bionic_clone.S
+2
-4
No files found.
libc/arch-arm/bionic/__bionic_clone.S
View file @
0952a554
...
...
@@ -43,8 +43,7 @@ ENTRY(__bionic_clone)
ldmfd
ip
,
{
r4
,
r5
,
r6
}
#
store
'fn'
and
'arg'
to
the
child
stack
str
r5
,
[
r1
,
#-
4
]
str
r6
,
[
r1
,
#-
8
]
stmdb
r1
!,
{
r5
,
r6
}
#
System
call
ldr
r7
,
=
__NR_clone
...
...
@@ -62,8 +61,7 @@ ENTRY(__bionic_clone)
1
:
#
The
child
.
#
Setting
lr
to
0
will
make
the
unwinder
stop
at
__start_thread
mov
lr
,
#
0
ldr
r0
,
[
sp
,
#-
4
]
ldr
r1
,
[
sp
,
#-
8
]
pop
{
r0
,
r1
}
b
__start_thread
END
(
__bionic_clone
)
.
hidden
__bionic_clone
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment