diff options
author | 2019-01-23 23:52:32 +0000 | |
---|---|---|
committer | 2019-01-23 23:52:32 +0000 | |
commit | 417d3936ae2d7e91eac96cbcf4ec4dbffa98f201 (patch) | |
tree | 8a2d31c37ee33283fcf24df1b66e3760db873c88 | |
parent | using _C_LABEL() inside a macro which uses _C_LABEL() is silly and wrong (diff) | |
download | wireguard-openbsd-417d3936ae2d7e91eac96cbcf4ec4dbffa98f201.tar.xz wireguard-openbsd-417d3936ae2d7e91eac96cbcf4ec4dbffa98f201.zip |
RELOC() is not performed here (remained from when locore was split up)
-rw-r--r-- | sys/arch/amd64/amd64/mptramp.S | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/arch/amd64/amd64/mptramp.S b/sys/arch/amd64/amd64/mptramp.S index aa813186150..9896f1205b0 100644 --- a/sys/arch/amd64/amd64/mptramp.S +++ b/sys/arch/amd64/amd64/mptramp.S @@ -1,4 +1,4 @@ -/* $OpenBSD: mptramp.S,v 1.17 2018/06/05 06:39:10 guenther Exp $ */ +/* $OpenBSD: mptramp.S,v 1.18 2019/01/23 23:52:32 deraadt Exp $ */ /* $NetBSD: mptramp.S,v 1.1 2003/04/26 18:39:30 fvdl Exp $ */ /*- @@ -88,9 +88,6 @@ #define addr32 #endif -#define _RELOC(x) ((x) - KERNBASE) -#define RELOC(x) _RELOC(_C_LABEL(x)) - #define _TRMP_LABEL(a) a = . - _C_LABEL(cpu_spinup_trampoline) + MP_TRAMPOLINE #define _TRMP_OFFSET(a) a = . - _C_LABEL(cpu_spinup_trampoline) |