Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Native/Runtime/unix/unixasmmacrosamd64.inc')
-rw-r--r--src/Native/Runtime/unix/unixasmmacrosamd64.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Native/Runtime/unix/unixasmmacrosamd64.inc b/src/Native/Runtime/unix/unixasmmacrosamd64.inc
index d94fe2d8c..f7fdc26c4 100644
--- a/src/Native/Runtime/unix/unixasmmacrosamd64.inc
+++ b/src/Native/Runtime/unix/unixasmmacrosamd64.inc
@@ -224,12 +224,14 @@ C_FUNC(\Name):
.macro EXPORT_POINTER_TO_ADDRESS Name
-1:
+// NOTE: The label is intentionally left as 2 - otherwise on OSX 0b or 1b will be incorrectly interpreted as binary integers
+
+2:
.data
.align 8
C_FUNC(\Name):
- .quad 1b
+ .quad 2b
.global C_FUNC(\Name)
.text