summaryrefslogtreecommitdiffstats
path: root/include/iprt/asmdefs.mac
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:23:05 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:23:05 +0000
commit7ed673ceebb0b8ae63da19e5fd850d3d03818513 (patch)
tree4fa0de0623ef46887b526b429d45aac385374da2 /include/iprt/asmdefs.mac
parentAdding upstream version 7.0.18-dfsg. (diff)
downloadvirtualbox-7ed673ceebb0b8ae63da19e5fd850d3d03818513.tar.xz
virtualbox-7ed673ceebb0b8ae63da19e5fd850d3d03818513.zip
Adding upstream version 7.0.20-dfsg.upstream/7.0.20-dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'include/iprt/asmdefs.mac')
-rw-r--r--include/iprt/asmdefs.mac8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/iprt/asmdefs.mac b/include/iprt/asmdefs.mac
index 1fd057bb..73d4ccfd 100644
--- a/include/iprt/asmdefs.mac
+++ b/include/iprt/asmdefs.mac
@@ -1264,7 +1264,11 @@ BEGINPROC_EXPORTED %1, 0
;
%macro RT_NOCRT_BEGINPROC 1
%ifdef RT_WITH_NOCRT_ALIASES
+ %ifdef IN_RT_STATIC
+BEGINPROC RT_NOCRT(%1), 1 ; Do our own IBT_ENDBRxx after aliasing/
+ %else
BEGINPROC_EXPORTED RT_NOCRT(%1), 1 ; Do our own IBT_ENDBRxx after aliasing/
+ %endif
%ifdef ASM_FORMAT_ELF
; ELF
%ifdef RT_WITH_NOCRT_UNDERSCORE_ALIASES
@@ -1285,7 +1289,11 @@ GLOBALNAME %1
%endif
IBT_ENDBRxx
%else ; !RT_WITH_NOCRT_ALIASES
+ %ifdef IN_RT_STATIC
+BEGINPROC RT_NOCRT(%1), 0
+ %else
BEGINPROC_EXPORTED RT_NOCRT(%1), 0
+ %endif
%endif ; !RT_WITH_NOCRT_ALIASES
%endmacro ; RT_NOCRT_BEGINPROC