mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-11 14:10:34 +00:00
Add END markers to asm functions so that debuggers can find their size.
This commit is contained in:
parent
d08c48b48a
commit
b1d6ef2ee9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=100265
@ -65,6 +65,7 @@ ENTRY(.rtld_start)
|
|||||||
mov %l1, %o3
|
mov %l1, %o3
|
||||||
jmp %o0
|
jmp %o0
|
||||||
mov %l0, %o0
|
mov %l0, %o0
|
||||||
|
END(.rtld_start)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We have two separate entry points to the runtime linker.
|
* We have two separate entry points to the runtime linker.
|
||||||
@ -124,6 +125,7 @@ ENTRY(_rtld_bind_start_0)
|
|||||||
|
|
||||||
jmp %o0 /* return value == function address */
|
jmp %o0 /* return value == function address */
|
||||||
restore /* Dump our stack frame */
|
restore /* Dump our stack frame */
|
||||||
|
END(_rtld_bind_start_0)
|
||||||
|
|
||||||
ENTRY(_rtld_bind_start_1)
|
ENTRY(_rtld_bind_start_1)
|
||||||
srax %o0, 15, %o2 /* %o0 is the index to our PLT slot */
|
srax %o0, 15, %o2 /* %o0 is the index to our PLT slot */
|
||||||
@ -140,4 +142,4 @@ ENTRY(_rtld_bind_start_1)
|
|||||||
|
|
||||||
jmp %o0 /* return value == function address */
|
jmp %o0 /* return value == function address */
|
||||||
restore /* Dump our stack frame */
|
restore /* Dump our stack frame */
|
||||||
|
END(_rtld_bind_start_1)
|
||||||
|
Loading…
Reference in New Issue
Block a user