aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2018-05-30 14:48:45 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2018-05-30 14:48:45 -0700
commit8413e8167a21a922bbf99660165bb091e71bf1c0 (patch)
tree7f624795fd5446fd58249f09d26da99e6b081472
parent892c4818ceaddd53ab98ee4fecc3821dcc703751 (diff)
downloadnasm-8413e8167a21a922bbf99660165bb091e71bf1c0.tar.gz
nasm-8413e8167a21a922bbf99660165bb091e71bf1c0.tar.xz
nasm-8413e8167a21a922bbf99660165bb091e71bf1c0.zip
test: add test for subsections via symbols
Add a test for subsections via symbols. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
-rw-r--r--test/subsection.asm6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/subsection.asm b/test/subsection.asm
index eb0f05d7..f0a1fa03 100644
--- a/test/subsection.asm
+++ b/test/subsection.asm
@@ -5,13 +5,13 @@
;
%pragma output subsections_via_symbols
-
+
bits 32
global foo, bar, quux
%define baz Lbaz
-
+
foo:
jmp foo
jmp bar
@@ -35,5 +35,3 @@ quux:
jmp bar
jmp baz
jmp quux
-
-