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. [1] https://www.redhat.com/archives/posix-c++-wg/2009-August/msg00002.html MFC after: 1 week Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
3e2da6e430
commit
965227c981
@ -753,8 +753,9 @@ typedef struct {
|
|||||||
#define STB_LOCAL 0 /* Local symbol */
|
#define STB_LOCAL 0 /* Local symbol */
|
||||||
#define STB_GLOBAL 1 /* Global symbol */
|
#define STB_GLOBAL 1 /* Global symbol */
|
||||||
#define STB_WEAK 2 /* like global - lower precedence */
|
#define STB_WEAK 2 /* like global - lower precedence */
|
||||||
#define STB_LOOS 10 /* Reserved range for operating system */
|
#define STB_LOOS 10 /* Start of operating system reserved range. */
|
||||||
#define STB_HIOS 12 /* specific semantics. */
|
#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_LOPROC 13 /* reserved range for processor */
|
||||||
#define STB_HIPROC 15 /* specific semantics. */
|
#define STB_HIPROC 15 /* specific semantics. */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user