Author: andrew
Date: Tue Oct 27 22:24:57 2015
New Revision: 290079
URL: https://svnweb.freebsd.org/changeset/base/290079

Log:
  Mark functions as such. This means we call them directly rather than have
  the dynamic linker copy them, but not relocate them at the new location.
  This allows us to run sqlite3 without it crashing.
  
  Sponsored by: ABT Systems Ltd

Modified:
  head/sys/arm64/include/asm.h

Modified: head/sys/arm64/include/asm.h
==============================================================================
--- head/sys/arm64/include/asm.h        Tue Oct 27 22:18:19 2015        
(r290078)
+++ head/sys/arm64/include/asm.h        Tue Oct 27 22:24:57 2015        
(r290079)
@@ -39,7 +39,7 @@
 #define        _C_LABEL(x)     x
 
 #define        ENTRY(sym)                                              \
-       .text; .globl sym; .align 2; sym:
+       .text; .globl sym; .align 2; .type sym,#function; sym:
 #define        EENTRY(sym)                                             \
        .globl  sym; sym:
 #define        END(sym) .size sym, . - sym
_______________________________________________
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