diff options
author | marius <marius@FreeBSD.org> | 2015-02-24 22:28:44 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2015-02-24 22:28:44 +0000 |
commit | 41a96ed99bbd2897e1de81b52b0eec6640b7f637 (patch) | |
tree | 11395f5d6d059d6c4a040e987a23f2f94f95243f /sys | |
parent | 224ab7ed88d3de7a8975d08e2dc8dbc056b79549 (diff) | |
download | FreeBSD-src-41a96ed99bbd2897e1de81b52b0eec6640b7f637.zip FreeBSD-src-41a96ed99bbd2897e1de81b52b0eec6640b7f637.tar.gz |
MFC: r278870
Unbreak sparc64 after r276630 (MFCed to stable/10 in r277317) by calling
__sparc_sigtramp_setup signal trampoline as part of the MD __sys_sigaction
again.
Submitted by: kib (initial versions)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sparc64/include/asm.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/sparc64/include/asm.h b/sys/sparc64/include/asm.h index dea06c5..69a53be 100644 --- a/sys/sparc64/include/asm.h +++ b/sys/sparc64/include/asm.h @@ -103,6 +103,16 @@ CNAME(x): #define END(x) .size x, . - x /* + * WEAK_REFERENCE(): create a weak reference alias from sym. + * The macro is not a general asm macro that takes arbitrary names, + * but one that takes only C names. It does the non-null name + * translation inside the macro. + */ +#define WEAK_REFERENCE(sym, alias) \ + .weak CNAME(alias); \ + .equ CNAME(alias),CNAME(sym) + +/* * Kernel RCS ID tag and copyright macros */ |