1# REQUIRES: x86
2
3# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
4# RUN: ld.lld -hash-style=gnu %t.o -o %t.so -shared
5# RUN: llvm-readelf --gnu-hash-table %t.so | FileCheck %s
6
7# CHECK: Num Buckets: 4
8
9.global sym1
10sym1:
11
12.global sym2
13sym2:
14
15.global sym3
16sym3:
17
18.global sym4
19sym4:
20
21.global sym5
22sym5:
23
24.global sym6
25sym6:
26
27.global sym7
28sym7:
29
30.global sym8
31sym8:
32
33.global sym9
34sym9:
35
36.global sym10
37sym10:
38
39.global sym11
40sym11:
41
42.global sym12
43sym12:
44
45.global sym13
46sym13:
47
48.global sym14
49sym14:
50
51.global sym15
52sym15:
53
54.global sym16
55sym16:
56