/titanic_44/usr/src/cmd/sgs/crle/common/ |
H A D | config.c | 66 char *strtbl, *_strtbl; in genconfig() local 245 strtbl = _strtbl = (char *)(CAST_PTRINT(char *, head->ch_str) + addr); in genconfig() 280 (void) memset(dirtbl, 0, (strtbl - (char *)dirtbl)); in genconfig() 314 objtbl->co_name = (Addr)(_strtbl - strtbl); in genconfig() 391 objtbl->co_name = (Addr)(_strtbl - strtbl); in genconfig() 417 (Addr)(_strtbl - strtbl); in genconfig() 519 head->ch_edlibpath = head->ch_str + (_strtbl - strtbl); in genconfig() 527 head->ch_adlibpath = head->ch_str + (_strtbl - strtbl); in genconfig() 535 head->ch_eslibpath = head->ch_str + (_strtbl - strtbl); in genconfig() 543 head->ch_aslibpath = head->ch_str + (_strtbl - strtbl); in genconfig() [all …]
|
H A D | print.c | 225 const char *strtbl; in scanconfig() local 306 strtbl = (const char *)(CAST_PTRINT(char *, head->ch_str) + addr); in scanconfig() 423 alter = (char *)(strtbl + obj->co_alter); in scanconfig() 431 if (inspect(crle, (strtbl + obj->co_name), in scanconfig() 437 (strtbl + obj->co_alter), (strtbl + obj->co_name)); in scanconfig() 449 MSG_ORIG(MSG_CMD_DUMPGRP), (strtbl + obj->co_name)); in scanconfig() 740 (strtbl + fltrtbl->fr_filter), in scanconfig() 741 (strtbl + fltrtbl->fr_string)); in scanconfig() 751 (strtbl + _fltetbl->fe_filtee)); in scanconfig() 788 str = strtbl + dobj->co_name; in scanconfig() [all …]
|
/titanic_44/usr/src/cmd/sgs/libcrle/common/ |
H A D | dump.c | 134 const char *str, *strtbl; in scanconfig() local 137 strtbl = (const char *)((char *)addr + head->ch_str); in scanconfig() 146 str = strtbl + obj->co_name; in scanconfig() 155 str = strtbl + obj->co_name; in scanconfig() 160 if ((*fptr)(str, strtbl + obj->co_alter) != 0) in scanconfig() 189 str = strtbl + obj->co_alter; in scanconfig()
|
/titanic_44/usr/src/cmd/sgs/ar/common/ |
H A D | file.c | 812 strtbl_alloc(ARSTRTBL *strtbl, size_t need) in strtbl_alloc() argument 821 uint64_t used64 = strtbl->used; in strtbl_alloc() 822 uint64_t size64 = strtbl->size; in strtbl_alloc() 843 tbl32 = (strtbl == &long_strtbl); in strtbl_alloc() 854 if (strtbl->base == NULL) in strtbl_alloc() 881 strtbl->base = realloc(strtbl->base, size64); in strtbl_alloc() 882 if (strtbl->base == NULL) { in strtbl_alloc() 887 strtbl->size = (size_t)size64; in strtbl_alloc() 919 strtbl_pad(ARSTRTBL *strtbl, size_t n, int ch) in strtbl_pad() argument 924 if ((n + strtbl->used) > strtbl->size) in strtbl_pad() [all …]
|
/titanic_44/usr/src/cmd/sgs/libld/common/ |
H A D | update.c | 2074 Str_tbl *strtbl; in update_odynamic() local 2093 strtbl = ofl->ofl_strtab; in update_odynamic() 2097 strtbl = ofl->ofl_dynstrtab; in update_odynamic() 2130 (void) st_setstring(strtbl, ifl->ifl_soname, &stoff); in update_odynamic() 2148 (void) st_setstring(strtbl, dftp->dft_str, in update_odynamic() 2174 (void) st_setstring(strtbl, ofl->ofl_soname, &stoff); in update_odynamic() 2184 (void) st_setstring(strtbl, ofl->ofl_filtees, &stoff); in update_odynamic() 2191 (void) st_setstring(strtbl, ofl->ofl_rpath, &stoff); in update_odynamic() 2206 (void) st_setstring(strtbl, ofl->ofl_config, &stoff); in update_odynamic() 2212 (void) st_setstring(strtbl, ofl->ofl_depaudit, &stoff); in update_odynamic() [all …]
|
H A D | sections.c | 947 Str_tbl *strtbl; in make_dynamic() local 956 strtbl = ofl->ofl_strtab; in make_dynamic() 958 strtbl = ofl->ofl_dynstrtab; in make_dynamic() 1036 if (st_insert(strtbl, ifl->ifl_soname) == -1) in make_dynamic() 1083 if (st_insert(strtbl, ofl->ofl_soname) == -1) in make_dynamic() 1088 if (st_insert(strtbl, ofl->ofl_filtees) == -1) in make_dynamic() 1105 if (st_insert(strtbl, ofl->ofl_rpath) == -1) in make_dynamic() 1124 if (st_insert(strtbl, ofl->ofl_config) == -1) in make_dynamic() 1138 if (st_insert(strtbl, ofl->ofl_depaudit) == -1) in make_dynamic() 1143 if (st_insert(strtbl, ofl->ofl_audit) == -1) in make_dynamic() [all …]
|
H A D | version.c | 342 Str_tbl *strtbl; in ld_vers_check_need() local 348 strtbl = (OFL_IS_STATIC_OBJ(ofl)) ? ofl->ofl_strtab : in ld_vers_check_need() 435 if (st_insert(strtbl, vip->vi_name) == -1) in ld_vers_check_need() 444 if (st_insert(strtbl, ifl->ifl_soname) == -1) in ld_vers_check_need()
|
/titanic_44/usr/src/cmd/sgs/rtld/common/ |
H A D | config_elf.c | 50 const char *str, *strtbl = config->c_strtbl; in elf_config_validate() local 70 cname = _cname = (char *)(strtbl + obj->co_name); in elf_config_validate() 130 str = strtbl + obj->co_name; in elf_config_validate() 148 str = strtbl + obj->co_name; in elf_config_validate()
|