Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146905835
D40950.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
867 B
Referenced Files
None
Subscribers
None
D40950.id.diff
View Options
diff --git a/libexec/rtld-elf/i386/rtld_start.S b/libexec/rtld-elf/i386/rtld_start.S
--- a/libexec/rtld-elf/i386/rtld_start.S
+++ b/libexec/rtld-elf/i386/rtld_start.S
@@ -31,7 +31,6 @@
.type .rtld_start,@function
.rtld_start:
xorl %ebp,%ebp # Clear frame pointer for good form
- movl %esp,%eax # Save initial stack pointer
movl %esp,%esi # Save initial stack pointer
andl $0xfffffff0,%esp # Align stack pointer
subl $16,%esp # A place to store exit procedure addr
@@ -41,7 +40,7 @@
subl $4,%esp # Keep stack aligned
pushl %ecx # Pass address of obj_main
pushl %ebx # Pass address of exit proc
- pushl %eax # Pass initial stack pointer to rtld
+ pushl %esi # Pass initial stack pointer to rtld
call _rtld # Call rtld(sp); returns entry point
addl $16,%esp # Remove arguments from stack
popl %edx # Get exit procedure address
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 7, 3:51 PM (15 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29354479
Default Alt Text
D40950.id.diff (867 B)
Attached To
Mode
D40950: rtld: Microoptimize rtld_start on i386
Attached
Detach File
Event Timeline
Log In to Comment