diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2018-06-18 11:37:17 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2018-06-18 11:37:17 -0700 |
commit | 1bcc1e012aea5435150d8903328703d14bd9efb5 (patch) | |
tree | d1a30b5b5dd0913c81ee61eeb93fe2cd9d2f2ba1 | |
parent | f7be8b3253b90ed590c7dc862c402da5e8ea08c2 (diff) | |
download | nasm-1bcc1e012aea5435150d8903328703d14bd9efb5.tar.gz |
test: test for ELF symbol visibility
Add test for declaring ELF visibility.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
-rw-r--r-- | test/elf_visibility.asm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/elf_visibility.asm b/test/elf_visibility.asm new file mode 100644 index 00000000..4874b62d --- /dev/null +++ b/test/elf_visibility.asm @@ -0,0 +1,10 @@ +global foo +global foo_hidden:function hidden + +SECTION .text align=16 + +foo: +foo_hidden: +foo_label: +ret + |