2 # Check the order of dynamic symbols for the MIPS target.
4 # RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o %t-be.o
5 # RUN: ld.lld -shared %t-be.o -o %t-be.so
6 # RUN: llvm-readobj --symbols --dyn-syms %t-be.so | FileCheck %s
8 # RUN: llvm-mc -filetype=obj -triple=mipsel-unknown-linux %s -o %t-el.o
9 # RUN: ld.lld -shared %t-el.o -o %t-el.so
10 # RUN: llvm-readobj --symbols --dyn-syms %t-el.so | FileCheck %s
24 lui $
2, %got
(v3
) # v3 will precede v1 in the GOT
27 # Since all these symbols have global binding,
28 # the Symbols section contains them in the original order.
35 # The symbols in the DynamicSymbols section are sorted in compliance with
36 # the MIPS rules. v2 comes first as it is not in the GOT.
37 # v1 and v3 are sorted according to their order in the GOT.
38 # CHECK: DynamicSymbols [