diff options
author | ab196087 <none@none> | 2006-09-19 15:38:37 -0700 |
---|---|---|
committer | ab196087 <none@none> | 2006-09-19 15:38:37 -0700 |
commit | 9039eeaf76678a41be39feb97b4f724272ef7e18 (patch) | |
tree | a212dbf67415286780fcda66a0fdebf596d758f2 /usr/src/cmd/sgs/libconv/common/sections.c | |
parent | ef4c14d24cff432d9d11d0a63d2676aa5d58fefe (diff) | |
download | illumos-gate-9039eeaf76678a41be39feb97b4f724272ef7e18.tar.gz |
PSARC 2006/526 SHT_SUNW_LDYNSYM - default local symbol addition
4934427 runtime linker should load up static symbol names visible to dladdr()
Diffstat (limited to 'usr/src/cmd/sgs/libconv/common/sections.c')
-rw-r--r-- | usr/src/cmd/sgs/libconv/common/sections.c | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/usr/src/cmd/sgs/libconv/common/sections.c b/usr/src/cmd/sgs/libconv/common/sections.c index 272705641c..817c5cfb94 100644 --- a/usr/src/cmd/sgs/libconv/common/sections.c +++ b/usr/src/cmd/sgs/libconv/common/sections.c @@ -65,22 +65,24 @@ static const Msg secs_alt[SHT_NUM] = { #endif static const Msg usecs[SHT_HISUNW - SHT_LOSUNW + 1] = { - MSG_SHT_SUNW_dof, MSG_SHT_SUNW_cap, - MSG_SHT_SUNW_SIGNATURE, MSG_SHT_SUNW_ANNOTATE, - MSG_SHT_SUNW_DEBUGSTR, MSG_SHT_SUNW_DEBUG, - MSG_SHT_SUNW_move, MSG_SHT_SUNW_COMDAT, - MSG_SHT_SUNW_syminfo, MSG_SHT_SUNW_verdef, - MSG_SHT_SUNW_verneed, MSG_SHT_SUNW_versym + MSG_SHT_SUNW_LDYNSYM, MSG_SHT_SUNW_dof, + MSG_SHT_SUNW_cap, MSG_SHT_SUNW_SIGNATURE, + MSG_SHT_SUNW_ANNOTATE, MSG_SHT_SUNW_DEBUGSTR, + MSG_SHT_SUNW_DEBUG, MSG_SHT_SUNW_move, + MSG_SHT_SUNW_COMDAT, MSG_SHT_SUNW_syminfo, + MSG_SHT_SUNW_verdef, MSG_SHT_SUNW_verneed, + MSG_SHT_SUNW_versym }; static const Msg usecs_alt[SHT_HISUNW - SHT_LOSUNW + 1] = { - MSG_SHT_SUNW_dof_ALT, MSG_SHT_SUNW_cap_ALT, - MSG_SHT_SUNW_SIGNATURE_ALT, MSG_SHT_SUNW_ANNOTATE_ALT, - MSG_SHT_SUNW_DEBUGSTR_ALT, MSG_SHT_SUNW_DEBUG_ALT, - MSG_SHT_SUNW_move_ALT, MSG_SHT_SUNW_COMDAT_ALT, - MSG_SHT_SUNW_syminfo_ALT, MSG_SHT_SUNW_verdef_ALT, - MSG_SHT_SUNW_verneed_ALT, MSG_SHT_SUNW_versym_ALT + MSG_SHT_SUNW_LDYNSYM_ALT, MSG_SHT_SUNW_dof_ALT, + MSG_SHT_SUNW_cap_ALT, MSG_SHT_SUNW_SIGNATURE_ALT, + MSG_SHT_SUNW_ANNOTATE_ALT, MSG_SHT_SUNW_DEBUGSTR_ALT, + MSG_SHT_SUNW_DEBUG_ALT, MSG_SHT_SUNW_move_ALT, + MSG_SHT_SUNW_COMDAT_ALT, MSG_SHT_SUNW_syminfo_ALT, + MSG_SHT_SUNW_verdef_ALT, MSG_SHT_SUNW_verneed_ALT, + MSG_SHT_SUNW_versym_ALT }; -#if (SHT_LOSUNW != SHT_SUNW_dof) +#if (SHT_LOSUNW != SHT_SUNW_LDYNSYM) #error "SHT_LOSUNW has moved" #endif |