Home
last modified time | relevance | path

Searched refs:mem_header (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/cmd/sgs/mcs/common/
H A Dfile.c77 Elf_Arhdr *mem_header; in each_file() local
152 if ((mem_header = elf_getarhdr(elf)) == NULL) { in each_file()
167 strlen(mem_header->ar_name)); in each_file()
176 cur_file, mem_header->ar_name); in each_file()
189 fdartmp, mem_header, in each_file()
196 fdartmp, mem_header, in each_file()
200 fdartmp, mem_header, cur_file); in each_file()
214 fdartmp, mem_header, in each_file()
1268 Elf_Arhdr *mem_header, in copy_elf_file_to_temp_ar_file() argument
1296 (void) sprintf(mem_header_buf, FORMAT, mem_header->ar_rawname, in copy_elf_file_to_temp_ar_file()
[all …]
/titanic_44/usr/src/cmd/sgs/ar/common/
H A Dfile.c310 Elf_Arhdr *mem_header = NULL; in getfile() local
321 while (mem_header == NULL) { in getfile()
325 if ((mem_header = elf_getarhdr(elf)) == NULL) { in getfile()
332 if (mem_header->ar_name[0] == '/') { in getfile()
335 mem_header = NULL; in getfile()
349 (void) strncpy(file->ar_name, mem_header->ar_name, SNAME); in getfile()
351 if ((file->ar_longname = malloc(strlen(mem_header->ar_name) + 1)) in getfile()
357 (void) strcpy(file->ar_longname, mem_header->ar_name); in getfile()
358 if ((file->ar_rawname = malloc(strlen(mem_header->ar_rawname) + 1)) in getfile()
364 tmp_rawname = mem_header->ar_rawname; in getfile()
[all …]