diff options
author | Frank Kotler <fbkotler@users.sourceforge.net> | 2007-08-26 05:10:24 +0000 |
---|---|---|
committer | Frank Kotler <fbkotler@users.sourceforge.net> | 2007-08-26 05:10:24 +0000 |
commit | 155eef6a3d309fdfef45f4476590234007fdbf9b (patch) | |
tree | 604b879f51adee60f5f70a100472a0b29283d0ff /doc/nasmdoc.src | |
parent | 85f5f148bb6536f326c3d3c0ba9c516998f2e798 (diff) | |
download | nasm-155eef6a3d309fdfef45f4476590234007fdbf9b.tar.gz nasm-155eef6a3d309fdfef45f4476590234007fdbf9b.tar.bz2 nasm-155eef6a3d309fdfef45f4476590234007fdbf9b.zip |
finally commit Mike Frysinger's "elf-visibility" patch
Diffstat (limited to 'doc/nasmdoc.src')
-rw-r--r-- | doc/nasmdoc.src | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/nasmdoc.src b/doc/nasmdoc.src index 48c5bdf..ee8c0f6 100644 --- a/doc/nasmdoc.src +++ b/doc/nasmdoc.src @@ -4408,6 +4408,13 @@ object by suffixing the name with a colon and the word exports the global symbol \c{hashlookup} as a function and \c{hashtable} as a data object. +Optionally, you can control the ELF visibility of the symbol. Just +add one of the visibility keywords: \i\c{default}, \i\c{internal}, +\i\c{hidden}, or \i\c{protected}. The default is \i\c{default} of +course. For example, to make \c{hashlookup} hidden: + +\c global hashlookup:function hidden + You can also specify the size of the data associated with the symbol, as a numeric expression (which may involve labels, and even forward references) after the type specifier. Like this: |