nasm/test/elf_visibility.asm
H. Peter Anvin 1bcc1e012a test: test for ELF symbol visibility
Add test for declaring ELF visibility.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2018-06-18 11:37:17 -07:00

11 lines
104 B
NASM

global foo
global foo_hidden:function hidden
SECTION .text align=16
foo:
foo_hidden:
foo_label:
ret