diff options
author | jb <jb@FreeBSD.org> | 2007-12-02 00:05:18 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 2007-12-02 00:05:18 +0000 |
commit | fb73d97ef160c05407d58b1fc78b1ccdf3f498ac (patch) | |
tree | ffe03972dc8825c9e728d8ed0f98a2bfdfd6e741 | |
parent | 090235e567d2103bb33c8098bde951eb3c184d05 (diff) | |
download | FreeBSD-src-fb73d97ef160c05407d58b1fc78b1ccdf3f498ac.zip FreeBSD-src-fb73d97ef160c05407d58b1fc78b1ccdf3f498ac.tar.gz |
Add extra visibility definitions.
See: <http://groups.google.com/group/generic-abi/browse_thread/thread/1a84adc15666164>
These are already in OpenSolaris and DTrace uses STV_ELIMINATE.
-rw-r--r-- | sys/sys/elf_common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/elf_common.h b/sys/sys/elf_common.h index b941fd7..ef2ab0f 100644 --- a/sys/sys/elf_common.h +++ b/sys/sys/elf_common.h @@ -431,6 +431,9 @@ typedef struct { #define STV_INTERNAL 0x1 /* Special meaning in relocatable objects. */ #define STV_HIDDEN 0x2 /* Not visible. */ #define STV_PROTECTED 0x3 /* Visible but not preemptible. */ +#define STV_EXPORTED 0x4 +#define STV_SINGLETON 0x5 +#define STV_ELIMINATE 0x6 /* Special symbol table indexes. */ #define STN_UNDEF 0 /* Undefined symbol index. */ |