summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/linkerscript/Inputs/data-segment-relro.s
blob: 668a2e2ca2a4af0c5a9e6b254e72065707bc485f (plain)
1
2
3
4
5
6
7
8
9
10
11
.global _start
_start:
  .long bar
  jmp *bar2@GOTPCREL(%rip)

.section .data,"aw"
.quad 0

.zero 4
.section .foo,"aw"
.section .bss,"",@nobits
OpenPOWER on IntegriCloud