Use NESTED() instead of LEAF() for rtld_start.

This is only cosmetic, but the entry point for rtld is not a leaf function,
and this avoids two .frame directives for rtld_start.

Sponsored by:	DARPA / AFRL
This commit is contained in:
John Baldwin 2017-11-10 01:13:45 +00:00
parent f62b48f9fe
commit c3faeef12c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=325623

View File

@ -43,8 +43,7 @@
* a2 rtld object (filled in by dynamic loader)
* a3 ps_strings
*/
LEAF(rtld_start)
.frame sp, 4*PTR_SIZE, ra
NESTED(rtld_start, 4*PTR_SIZE, ra)
.mask 0x10090000,-PTR_SIZE
.set noreorder
SETUP_GP