diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2018-06-18 11:32:17 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2018-06-18 11:34:33 -0700 |
commit | f7be8b3253b90ed590c7dc862c402da5e8ea08c2 (patch) | |
tree | e8dac38f94fc896d4ec64b05cf2b92e071300532 /test | |
parent | 41103ab4310c71836761c205a7424975edb4f2ad (diff) | |
download | nasm-f7be8b3253b90ed590c7dc862c402da5e8ea08c2.tar.gz |
pragma: define a hander for generic output (and debug) pragmas
There are cases where we may want to implement generic pragmas, while
still make them selective based on output and/or debug formats.
Initially, use this for the prefix/suffix options.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Cc: Chang Seok Bae <chang.seok.bae@intel.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/subsection.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/subsection.asm b/test/subsection.asm index ce8ed4aa..8ba61978 100644 --- a/test/subsection.asm +++ b/test/subsection.asm @@ -4,9 +4,9 @@ ; Test of Mach-O subsection_by_symbol ; -%pragma output subsections_via_symbols -%pragma asm gprefix _ -%pragma asm lprefix L_ +%pragma macho subsections_via_symbols +%pragma macho gprefix _ +%pragma macho lprefix L. bits 32 |