summaryrefslogtreecommitdiff
path: root/src/VBox/Runtime/common/asm/ASMGetTR.asm
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2021-12-08 00:47:27 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2021-12-08 00:47:27 +0000
commitb952985f8012da265a7a4767ab44e715a7e5b2fd (patch)
tree7ce6645d5b100b540ac843ca9cb6aa2ba0dc5424 /src/VBox/Runtime/common/asm/ASMGetTR.asm
parentca1ddd8b686ede5631fb5f6ef9a4d4685110bbd1 (diff)
downloadVirtualBox-svn-b952985f8012da265a7a4767ab44e715a7e5b2fd.tar.gz
iprt/asmdefs.h,IPRT/**/*asm: Added a RT_BEGINPROC macro that takes IN_RT_STATIC into account and selects either BEGINPROC_EXPORTED or BEGINPROC as appropriate. Updated all relevant IRPT assembly code to use RT_BEGINPROC instead of BEGINPROC_EXPORTED. (Hopefully this makes the GA build stop complaining about R_X86_64_PC32 relocations to RTStrEnd.)
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@92799 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/Runtime/common/asm/ASMGetTR.asm')
-rw-r--r--src/VBox/Runtime/common/asm/ASMGetTR.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VBox/Runtime/common/asm/ASMGetTR.asm b/src/VBox/Runtime/common/asm/ASMGetTR.asm
index 3526d4b399d..30b0cc32499 100644
--- a/src/VBox/Runtime/common/asm/ASMGetTR.asm
+++ b/src/VBox/Runtime/common/asm/ASMGetTR.asm
@@ -35,7 +35,7 @@ BEGINCODE
; Get the TR register.
; @returns TR.
;
-BEGINPROC_EXPORTED ASMGetTR
+RT_BEGINPROC ASMGetTR
str ax
movzx eax, ax
ret