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:
authorAndon Andonov <anandono@microsoft.com>2018-04-26 05:02:05 +0300
committerSergiy Kuryata <sergeyk@microsoft.com>2018-04-26 05:02:05 +0300
commitf771b2f01a2e2fd75e50cd548de7e28c200f20e7 (patch)
treeb9144dbd536a032be00d2552937ea14f59f59d32 /src/Native
parentaad951a27e4774a68cfdc3b5167241d373e5c5c3 (diff)
Change label name in Unix macro (#5750)
Add comment
Diffstat (limited to 'src/Native')
-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