mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-30 16:34:03 +00:00
8a89cf233d
GNU as rejects them and there are configure scripts in the wild that check if the assembler rejects ".align 3" to determine whether the alignment is in bytes or powers of two. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175360 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
312 B
ArmAsm
11 lines
312 B
ArmAsm
# RUN: llvm-mc -triple i386-linux-gnu < %s 2>&1 | FileCheck %s -check-prefix=ELF
|
|
# RUN: llvm-mc -triple i386-apple-darwin < %s 2>&1 | FileCheck %s -check-prefix=DARWIN
|
|
|
|
.align 3
|
|
# ELF: error: alignment must be a power of 2
|
|
# DARWIN-NOT: error
|
|
|
|
.align 32
|
|
# ELF-NOT: error
|
|
# DARWIN: error: invalid alignment value
|