[ELF] Make section member orders consistent
[llvm-project.git] / lld / test / ELF / dynsym-no-rosegment.s
bloba6ebdf68ca51e38d26e036d6b7c002b41782314a
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
3 # RUN: ld.lld -shared --no-rosegment -o %t %t.o
4 # RUN: llvm-readobj --dyn-syms -S %t | FileCheck %s
6 # CHECK: DynamicSymbols [
7 # CHECK-NEXT: Symbol {
8 # CHECK-NEXT: Name:
9 # CHECK-NEXT: Value: 0x0
10 # CHECK-NEXT: Size: 0
11 # CHECK-NEXT: Binding: Local
12 # CHECK-NEXT: Type: None
13 # CHECK-NEXT: Other: 0
14 # CHECK-NEXT: Section: Undefined
15 # CHECK-NEXT: }
16 # CHECK-NEXT: Symbol {
17 # CHECK-NEXT: Name: undef
18 # CHECK-NEXT: Value: 0x0
19 # CHECK-NEXT: Size: 0
20 # CHECK-NEXT: Binding: Global
21 # CHECK-NEXT: Type: None
22 # CHECK-NEXT: Other: 0
23 # CHECK-NEXT: Section: Undefined
24 # CHECK-NEXT: }
25 # CHECK-NEXT: ]
27 callq undef@PLT