Searched refs:rsec_name (Results 1 – 1 of 1) sorted by relevance
1173 char *rsec_name; in elf_create_rela_section() local1175 rsec_name = malloc(strlen(sec->name) + strlen(".rela") + 1); in elf_create_rela_section()1176 if (!rsec_name) { in elf_create_rela_section()1180 strcpy(rsec_name, ".rela"); in elf_create_rela_section()1181 strcat(rsec_name, sec->name); in elf_create_rela_section()1183 rsec = elf_create_section(elf, rsec_name, elf_rela_size(elf), reloc_nr); in elf_create_rela_section()1184 free(rsec_name); in elf_create_rela_section()