1 # mips64el has a special encoding of the r_info relocation field.
2 # Test that we support both endianness.
4 # RUN: yaml2obj %s -DENDIANNESS=ELFDATA2LSB -o %t1-le
5 # RUN: llvm-objcopy %t1-le %t2-le
6 # RUN: llvm-readobj --relocations %t2-le | FileCheck %s
8 # RUN: yaml2obj %s -DENDIANNESS=ELFDATA2MSB -o %t1-be
9 # RUN: llvm-objcopy %t1-be %t2-be
10 # RUN: llvm-readobj --relocations %t2-be | FileCheck %s
32 # CHECK: Relocations [
33 # CHECK-NEXT: Section (2) .rela.text {
34 # CHECK-NEXT: 0x8 R_MIPS_JALR/R_MIPS_NONE/R_MIPS_NONE foo 0x0