mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-04 03:44:59 +00:00
3e023a6dbc
* Add --no-show-raw-insn to llvm-objdump -d tests * When linking an executable with %t.so, the path %t.so will be recorded in the DT_NEEDED entry if %t.so doesn't have DT_SONAME. .dynstr will have varying lengths on different systems. Add -soname to make tests more robust. llvm-svn: 366988
23 lines
607 B
ArmAsm
23 lines
607 B
ArmAsm
# Check trap instruction encoding.
|
|
|
|
# REQUIRES: mips
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux -mcpu=mips32r6 -o %t.o %s
|
|
# RUN: ld.lld -r -o %t %t.o %t.o
|
|
# RUN: llvm-objdump -d -r --no-show-raw-insn %t | FileCheck --check-prefix=EB %s
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple=mipsel-unknown-linux -mcpu=mips32r6 -o %t.o %s
|
|
# RUN: ld.lld -r -o %t %t.o %t.o
|
|
# RUN: llvm-objdump -d -r --no-show-raw-insn %t | FileCheck --check-prefix=EL %s
|
|
|
|
# EB: 8: sigrie 1
|
|
# EL: 8: sigrie 1
|
|
|
|
.text
|
|
lw $t9, %got(.data)($gp)
|
|
addiu $a0, $t9, %lo(.data)
|
|
|
|
.data
|
|
data:
|
|
.word 0
|