[ELF] Make SyntheticSection parameter order match InputSection
[llvm-project.git] / lld / test / ELF / gnu-hash-table-rwsegment.s
blobf95c26632f6da1be14be49320b63375092b0e751
1 # REQUIRES: x86
3 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
4 # RUN: ld.lld -shared -hash-style=gnu --no-rosegment -o %t.so %t.o
5 # RUN: llvm-readobj --gnu-hash-table %t.so | FileCheck %s
7 # CHECK: GnuHashTable {
8 # CHECK-NEXT: Num Buckets: 1
9 # CHECK-NEXT: First Hashed Symbol Index: 1
10 # CHECK-NEXT: Num Mask Words: 1
11 # CHECK-NEXT: Shift Count: 26
12 # CHECK-NEXT: Bloom Filter: [0x400000000000204]
13 # CHECK-NEXT: Buckets: [1]
14 # CHECK-NEXT: Values: [0xB8860BA, 0xB887389]
15 # CHECK-NEXT: }
17 .globl bar, foo
18 foo:
19 bar:
20 ret