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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to