Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Oct 2015 22:24:57 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r290079 - head/sys/arm64/include
Message-ID:  <201510272224.t9RMOvMV088961@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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