repo.or.cz
/
nasm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
test: nasm-t -- Add lnxhello
[nasm.git]
/
test
/
subsection.asm
blob
8ba61978634cc3357819148b08df6ead5de46eec
1
;
2
; subsection.asm
3
;
4
; Test of Mach-O subsection_by_symbol
5
;
6
7
%
pragma macho subsections_via_symbols
8
%
pragma macho gprefix _
9
%
pragma macho lprefix L.
10
11
bits
32
12
13
global
foo
,
bar
14
static quux
15
16
foo:
17
jmp
foo
18
jmp
bar
19
jmp
baz
20
jmp
quux
21
22
bar:
23
jmp
foo
24
jmp
bar
25
jmp
baz
26
jmp
quux
27
28
baz:
29
jmp
foo
30
jmp
bar
31
jmp
baz
32
jmp
quux
33
34
quux:
35
jmp
foo
36
jmp
bar
37
jmp
baz
38
jmp
quux