svn commit: r269997 - projects/arm64/sys/arm64/include
Andrew Turner
andrew at FreeBSD.org
Thu Aug 14 18:46:37 UTC 2014
Author: andrew
Date: Thu Aug 14 18:46:36 2014
New Revision: 269997
URL: http://svnweb.freebsd.org/changeset/base/269997
Log:
Add WEAK_REFERENCE to create a weak reference to a symbol in asm
Modified:
projects/arm64/sys/arm64/include/asm.h
Modified: projects/arm64/sys/arm64/include/asm.h
==============================================================================
--- projects/arm64/sys/arm64/include/asm.h Thu Aug 14 18:46:33 2014 (r269996)
+++ projects/arm64/sys/arm64/include/asm.h Thu Aug 14 18:46:36 2014 (r269997)
@@ -41,6 +41,10 @@
.text; .globl sym; .align 2; sym:
#define END(sym) .size sym, . - sym
+#define WEAK_REFERENCE(sym, alias) \
+ .weak alias; \
+ .set alias,sym
+
#define UINT64_C(x) (x)
#endif /* _MACHINE_ASM_H_ */
More information about the svn-src-projects
mailing list