diff options
author | Andon Andonov <anandono@microsoft.com> | 2018-04-26 05:02:05 +0300 |
---|---|---|
committer | Sergiy Kuryata <sergeyk@microsoft.com> | 2018-04-26 05:02:05 +0300 |
commit | f771b2f01a2e2fd75e50cd548de7e28c200f20e7 (patch) | |
tree | b9144dbd536a032be00d2552937ea14f59f59d32 /src/Native | |
parent | aad951a27e4774a68cfdc3b5167241d373e5c5c3 (diff) |
Change label name in Unix macro (#5750)
Add comment
Diffstat (limited to 'src/Native')
-rw-r--r-- | src/Native/Runtime/unix/unixasmmacrosamd64.inc | 6 |
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 |