[ELF] Make SyntheticSection parameter order match InputSection
[llvm-project.git] / lld / test / ELF / arm-use-r-output.s
blob2d2350863165cfba655d74f745d7786144a4f048
1 // REQUIRES: arm
2 // RUN: llvm-mc -filetype=obj -triple=armv7a-none-linux-gnueabi %s -o %t.o
3 // RUN: ld.lld -r %t.o -o %t2.o
4 // RUN: ld.lld -shared %t2.o -o /dev/null
6 // We used to crash using the output of -r because of the relative order of
7 // SHF_LINK_ORDER sections.
9 // That can be fixed by changing -r or making the regular link more flexible,
10 // so this is an end to end test.
12 .fnstart
13 .fnend