test: add test for subsections via symbols

Add a test for subsections via symbols.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
This commit is contained in:
H. Peter Anvin 2018-05-30 14:48:45 -07:00
parent 892c4818ce
commit 8413e8167a

View File

@ -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