[ELF] Make section member orders consistent
[llvm-project.git] / lld / test / ELF / riscv-flags.s
blobeb4e8fc88a71915c27078086492da70ef16537f7
1 # REQUIRES: riscv
3 # RUN: llvm-mc -filetype=obj -triple=riscv64 -target-abi=lp64d -mattr=+d %s -o %td.o
4 # RUN: llvm-mc -filetype=obj -triple=riscv64 -target-abi=lp64f -mattr=+f %s -o %tf.o
5 # RUN: not ld.lld %td.o %tf.o -o /dev/null 2>&1 | FileCheck %s --check-prefix=ERR -DF1=%td.o -DF2=%tf.o
7 # ERR: error: [[F2]]: cannot link object files with different floating-point ABI from [[F1]]