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:
jhb 2017-11-10 01:13:45 +00:00
parent e3f689be58
commit f77a4e7d64

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