2014-03-24 18:16:09 +00: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-04 18:28:46 +00:00
|
|
|
|
|
|
|
blr
|
|
|
|
.p2align 3
|
|
|
|
blr
|
|
|
|
|
2013-09-26 09:18:48 +00:00
|
|
|
.byte 0x42
|
|
|
|
.p2align 2
|
|
|
|
|
2014-03-24 18:16:09 +00:00
|
|
|
# CHECK-BE: 0000: 4E800020 60000000 4E800020 42000000
|
|
|
|
# CHECK-LE: 0000: 2000804E 00000060 2000804E 42000000
|
2013-07-04 18:28:46 +00:00
|
|
|
|