mirror of
https://github.com/partic2/libffi
synced 2026-11-11 10:37:19 +00:00
x86: Disable .org for Darwin
This commit is contained in:
+1
-1
@@ -60,7 +60,7 @@
|
|||||||
actual table. The entry points into the table are all 8 bytes.
|
actual table. The entry points into the table are all 8 bytes.
|
||||||
The use of ORG asserts that we're at the correct location. */
|
The use of ORG asserts that we're at the correct location. */
|
||||||
/* ??? The clang assembler doesn't handle .org with symbolic expressions. */
|
/* ??? The clang assembler doesn't handle .org with symbolic expressions. */
|
||||||
#ifdef __clang__
|
#if defined(__clang__) || defined(__APPLE__)
|
||||||
# define E(X) .align 8
|
# define E(X) .align 8
|
||||||
#else
|
#else
|
||||||
# define E(X) .align 8; .org 0b + X * 8
|
# define E(X) .align 8; .org 0b + X * 8
|
||||||
|
|||||||
+1
-1
@@ -57,7 +57,7 @@
|
|||||||
/* ??? The clang assembler doesn't handle .org with symbolic expressions. */
|
/* ??? The clang assembler doesn't handle .org with symbolic expressions. */
|
||||||
.macro E index
|
.macro E index
|
||||||
.align 8
|
.align 8
|
||||||
#ifndef __clang__
|
#if !defined(__clang__) && !defined(__APPLE__)
|
||||||
.org 0b + \index * 8, 0x90
|
.org 0b + \index * 8, 0x90
|
||||||
#endif
|
#endif
|
||||||
.endm
|
.endm
|
||||||
|
|||||||
Reference in New Issue
Block a user