aboutsummaryrefslogtreecommitdiff
path: root/test/execute/0002-setsym.s
blob: 6ce09bc1485e4b952d315cbbb93bd36afd8e0387 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.text
.globl main
main:
  jmp z
  # x
  nop
  # y 
  nop
  # z
  xorl %eax, %eax
  ret

.set z, y+1
.set x, main+2
.set y, x+1

.section .note.GNU-stack,"",@progbits