x86: Disable .org for Darwin

This commit is contained in:
Richard Henderson
2014-11-24 10:42:02 +01:00
parent 9f112619c1
commit 0172bc029c
2 changed files with 2 additions and 2 deletions

View File

@@ -60,7 +60,7 @@
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 clang assembler doesn't handle .org with symbolic expressions. */
#ifdef __clang__
#if defined(__clang__) || defined(__APPLE__)
# define E(X) .align 8
#else
# define E(X) .align 8; .org 0b + X * 8

View File

@@ -57,7 +57,7 @@
/* ??? The clang assembler doesn't handle .org with symbolic expressions. */
.macro E index
.align 8
#ifndef __clang__
#if !defined(__clang__) && !defined(__APPLE__)
.org 0b + \index * 8, 0x90
#endif
.endm