diff options
author | marius <marius@FreeBSD.org> | 2015-02-16 22:13:03 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2015-02-16 22:13:03 +0000 |
commit | c837ced420d36bb44aa12f15749bc30169acadb1 (patch) | |
tree | 7f369d79915be9316196f4c65a35dd617518389b /sys/sparc64/include | |
parent | 7a89c3df60c118e7db4f53fb2e76d3775e0d3097 (diff) | |
download | FreeBSD-src-c837ced420d36bb44aa12f15749bc30169acadb1.zip FreeBSD-src-c837ced420d36bb44aa12f15749bc30169acadb1.tar.gz |
Unbreak sparc64 after r276630 by calling __sparc_sigtramp_setup signal
trampoline as part of the MD __sys_sigaction again.
Submitted by: kib (initial versions)
MFC after: 3 days
Diffstat (limited to 'sys/sparc64/include')
-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 */ |