2014-03-25 02:16:09 +08:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple=powerpc-unknown-linux-gnu %s | llvm-readobj -s -sd - | FileCheck -check-prefix=CHECK-BE %s
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple=powerpc64-unknown-linux-gnu %s | llvm-readobj -s -sd - | FileCheck -check-prefix=CHECK-BE %s
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple=powerpc64le-unknown-linux-gnu %s | llvm-readobj -s -sd - | FileCheck -check-prefix=CHECK-LE %s
|
2013-07-05 02:28:46 +08:00
|
|
|
|
|
|
|
blr
|
|
|
|
.p2align 3
|
|
|
|
blr
|
|
|
|
|
2013-09-26 17:18:48 +08:00
|
|
|
.byte 0x42
|
|
|
|
.p2align 2
|
|
|
|
|
2014-03-25 02:16:09 +08:00
|
|
|
# CHECK-BE: 0000: 4E800020 60000000 4E800020 42000000
|
|
|
|
# CHECK-LE: 0000: 2000804E 00000060 2000804E 42000000
|
2013-07-05 02:28:46 +08:00
|
|
|
|