diff options
author | emaste <emaste@FreeBSD.org> | 2016-01-28 01:45:15 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2016-01-28 01:45:15 +0000 |
commit | 01c6097988800805640f7aa2109489dd23d7f990 (patch) | |
tree | 2acbfbd7a1057678def5763b075ab687f4629e1f /sys/sys | |
parent | 4f5539ac65cf9b57223f4843a05ffa1af9dad874 (diff) | |
download | FreeBSD-src-01c6097988800805640f7aa2109489dd23d7f990.zip FreeBSD-src-01c6097988800805640f7aa2109489dd23d7f990.tar.gz |
MFC r294530: Add STB_GNU_UNIQUE symbol binding definition
Red Hat created STB_GNU_UNIQUE to handle certain special cases relating
to dynamically loading C++ DSOs[1].
We don't (currently) have support for STB_GNU_UNIQUE, but ought to
reserve the value in ELFNN_ST_BIND. This will also be used by an
upcoming ELF Tool Chain import.
Diffstat (limited to 'sys/sys')
-rw-r--r-- | sys/sys/elf_common.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/sys/elf_common.h b/sys/sys/elf_common.h index d6ca101..b7e1fb2 100644 --- a/sys/sys/elf_common.h +++ b/sys/sys/elf_common.h @@ -748,8 +748,9 @@ typedef struct { #define STB_LOCAL 0 /* Local symbol */ #define STB_GLOBAL 1 /* Global symbol */ #define STB_WEAK 2 /* like global - lower precedence */ -#define STB_LOOS 10 /* Reserved range for operating system */ -#define STB_HIOS 12 /* specific semantics. */ +#define STB_LOOS 10 /* Start of operating system reserved range. */ +#define STB_GNU_UNIQUE 10 /* Unique symbol (GNU) */ +#define STB_HIOS 12 /* End of operating system reserved range. */ #define STB_LOPROC 13 /* reserved range for processor */ #define STB_HIPROC 15 /* specific semantics. */ |