# Check that LLD shows an error in case # of replacing an unknown unstruction by jalx. # RUN: yaml2obj -format=elf %s > %t-obj # RUN: not lld -flavor gnu -target mipsel -o %t-exe %t-obj 2>&1 | FileCheck %s # CHECK: Unsupported jump opcode (0x0) for ISA modes cross call !ELF FileHeader: !FileHeader Class: ELFCLASS32 Data: ELFDATA2LSB Type: ET_REL Machine: EM_MIPS Flags: [ EF_MIPS_CPIC, EF_MIPS_ABI_O32, EF_MIPS_ARCH_32R2, EF_MIPS_MICROMIPS ] Sections: - Name: .text Type: SHT_PROGBITS Size: 8 AddressAlign: 16 Flags: [ SHF_ALLOC, SHF_EXECINSTR ] - Name: .rel.text Type: SHT_REL Info: .text AddressAlign: 4 Relocations: - Offset: 0 Symbol: T0 Type: R_MICROMIPS_26_S1 Symbols: Global: - Name: __start Section: .text Type: STT_FUNC Size: 4 Other: [ STO_MIPS_MICROMIPS ] - Name: T0 Section: .text Type: STT_FUNC Value: 4 Size: 4