Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140120420
D40794.id123998.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
713 B
Referenced Files
None
Subscribers
None
D40794.id123998.diff
View Options
diff --git a/libexec/rtld-elf/amd64/rtld_start.S b/libexec/rtld-elf/amd64/rtld_start.S
--- a/libexec/rtld-elf/amd64/rtld_start.S
+++ b/libexec/rtld-elf/amd64/rtld_start.S
@@ -30,8 +30,11 @@
.globl .rtld_start
.type .rtld_start,@function
.rtld_start:
+ .cfi_startproc
+ .cfi_undefined %rip
xorq %rbp,%rbp # Clear frame pointer for good form
subq $24,%rsp # A place to store exit procedure addr
+ .cfi_def_cfa_offset 32
movq %rdi,%r12
movq %rsp,%rsi # save address of exit proc
movq %rsp,%rdx # construct address of obj_main
@@ -47,6 +50,7 @@
.globl .rtld_goto_main
.rtld_goto_main: # This symbol exists just to make debugging easier.
jmp *%rax # Enter main program
+ .cfi_endproc
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 21, 12:34 PM (8 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27112962
Default Alt Text
D40794.id123998.diff (713 B)
Attached To
Mode
D40794: rtld: Add a stop indicator to rtld_start to satisfy unwinders on x86_64
Attached
Detach File
Event Timeline
Log In to Comment