Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109414993
D40949.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
815 B
Referenced Files
None
Subscribers
None
D40949.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
@@ -30,8 +30,15 @@
.globl .rtld_start
.type .rtld_start,@function
.rtld_start:
+ .cfi_startproc
+ .cfi_undefined %eip
xorl %ebp,%ebp # Clear frame pointer for good form
movl %esp,%esi # Save initial stack pointer
+ pushl %ebp
+ .cfi_def_cfa_offset 4
+ movl %esp,%ebp
+ .cfi_offset %ebp,-4
+ .cfi_def_cfa_register %ebp
andl $0xfffffff0,%esp # Align stack pointer
subl $16,%esp # A place to store exit procedure addr
movl %esp,%ebx # save address of exit proc
@@ -53,6 +60,7 @@
.globl .rtld_goto_main
.rtld_goto_main: # This symbol exists just to make debugging easier.
jmp *%eax # Enter main program
+ .cfi_endproc
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 5, 6:44 PM (20 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16478945
Default Alt Text
D40949.diff (815 B)
Attached To
Mode
D40949: rtld: Annotate .rtld_start on i386
Attached
Detach File
Event Timeline
Log In to Comment