# REQUIRES: mips # Check that the driver rejects all --hash-style arguments except 'sysv' # because it is the only style supported by MIPS ABI. # RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o %t.o # RUN: not lld -flavor old-gnu -target mips --hash-style=both %t.o -o %t.exe 2>&1 \ # RUN: | FileCheck %s # RUN: not lld -flavor old-gnu -target mips --hash-style=gnu %t.o -o %t.exe 2>&1 \ # RUN: | FileCheck %s # CHECK: error: .gnu.hash is incompatible with the MIPS ABI .globl __start; __start: