From 286ea03382a5daa1b20f780f40807f1a0257a62e Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Tue, 6 Dec 2011 03:56:05 +0000 Subject: test/MC: Move relax-thumb2-branches.s from MC/MachO/ to MC/ARM. MC/MachO assumes x86. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145916 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/MC/ARM/relax-thumb2-branches.s | 14 ++++++++++++++ test/MC/MachO/relax-thumb2-branches.s | 14 -------------- 2 files changed, 14 insertions(+), 14 deletions(-) create mode 100644 test/MC/ARM/relax-thumb2-branches.s delete mode 100644 test/MC/MachO/relax-thumb2-branches.s (limited to 'test') diff --git a/test/MC/ARM/relax-thumb2-branches.s b/test/MC/ARM/relax-thumb2-branches.s new file mode 100644 index 0000000000..7916d42407 --- /dev/null +++ b/test/MC/ARM/relax-thumb2-branches.s @@ -0,0 +1,14 @@ +@ RUN: llvm-mc -triple=thumbv7-apple-darwin -show-encoding %s -filetype=obj -o - | macho-dump --dump-section-data | FileCheck %s + + ble Lfoo @ wide encoding + + .space 258 +Lfoo: + nop + + ble Lbaz @ narrow encoding + .space 256 +Lbaz: + +@ CHECK: '_section_data', '40f38180 +@ CHECK: 000000bf 7fdd diff --git a/test/MC/MachO/relax-thumb2-branches.s b/test/MC/MachO/relax-thumb2-branches.s deleted file mode 100644 index 7916d42407..0000000000 --- a/test/MC/MachO/relax-thumb2-branches.s +++ /dev/null @@ -1,14 +0,0 @@ -@ RUN: llvm-mc -triple=thumbv7-apple-darwin -show-encoding %s -filetype=obj -o - | macho-dump --dump-section-data | FileCheck %s - - ble Lfoo @ wide encoding - - .space 258 -Lfoo: - nop - - ble Lbaz @ narrow encoding - .space 256 -Lbaz: - -@ CHECK: '_section_data', '40f38180 -@ CHECK: 000000bf 7fdd -- cgit v1.2.3