summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/Inputs/symbol-ordering-file-warnings1.s
blob: 9250a6d4270565d8a8753820e9361822262067d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# This is a "bad" (absolute) instance of the symbol
multi = 1234

.text
.global shared
.type shared, @function
shared:
  movq  %rax, multi
  ret

.section .text.comdat,"axG",@progbits,comdat,comdat
.weak comdat
comdat:
  ret

.section .text.glob_or_wk,"ax",@progbits
.global glob_or_wk
glob_or_wk:
  ret
OpenPOWER on IntegriCloud