Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Nov 2017 01:13:45 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r325623 - head/libexec/rtld-elf/mips
Message-ID:  <201711100113.vAA1Djco093934@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Fri Nov 10 01:13:45 2017
New Revision: 325623
URL: https://svnweb.freebsd.org/changeset/base/325623

Log:
  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

Modified:
  head/libexec/rtld-elf/mips/rtld_start.S

Modified: head/libexec/rtld-elf/mips/rtld_start.S
==============================================================================
--- head/libexec/rtld-elf/mips/rtld_start.S	Thu Nov  9 23:36:10 2017	(r325622)
+++ head/libexec/rtld-elf/mips/rtld_start.S	Fri Nov 10 01:13:45 2017	(r325623)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711100113.vAA1Djco093934>