• Home
  • Raw
  • Download

Lines Matching refs:outdata

4454 	  Elf_Data *outdata = elf_newdata (scn);  in ld_generic_create_outfile()  local
4455 if (outdata == NULL) in ld_generic_create_outfile()
4464 outdata->d_buf = (void *) interp; in ld_generic_create_outfile()
4465 outdata->d_size = strlen (interp) + 1; in ld_generic_create_outfile()
4466 outdata->d_type = ELF_T_BYTE; in ld_generic_create_outfile()
4467 outdata->d_off = 0; in ld_generic_create_outfile()
4468 outdata->d_align = 1; in ld_generic_create_outfile()
4469 outdata->d_version = EV_CURRENT; in ld_generic_create_outfile()
4501 Elf_Data *outdata; in ld_generic_create_outfile() local
4503 outdata = elf_newdata (scn); in ld_generic_create_outfile()
4504 if (outdata == NULL) in ld_generic_create_outfile()
4509 outdata->d_size = ld_state.relsize_total; in ld_generic_create_outfile()
4510 outdata->d_buf = xmalloc (outdata->d_size); in ld_generic_create_outfile()
4511 outdata->d_type = (REL_TYPE (&ld_state) == DT_REL in ld_generic_create_outfile()
4513 outdata->d_off = 0; in ld_generic_create_outfile()
4514 outdata->d_align = xelf_fsize (ld_state.outelf, ELF_T_ADDR, 1); in ld_generic_create_outfile()
4525 Elf_Data *outdata; in ld_generic_create_outfile() local
4535 outdata = elf_newdata (scn); in ld_generic_create_outfile()
4536 if (outdata == NULL) in ld_generic_create_outfile()
4542 outdata->d_size = xelf_fsize (ld_state.outelf, ELF_T_DYN, in ld_generic_create_outfile()
4544 outdata->d_buf = xcalloc (1, outdata->d_size); in ld_generic_create_outfile()
4545 outdata->d_type = ELF_T_DYN; in ld_generic_create_outfile()
4546 outdata->d_off = 0; in ld_generic_create_outfile()
4547 outdata->d_align = xelf_fsize (ld_state.outelf, ELF_T_ADDR, 1); in ld_generic_create_outfile()
4792 Elf_Data *outdata; in ld_generic_create_outfile() local
4825 outdata = elf_newdata (scn); in ld_generic_create_outfile()
4826 if (outdata == NULL) in ld_generic_create_outfile()
4891 ebl_strtabfinalize (mergestrtab, outdata); in ld_generic_create_outfile()
4965 ebl_wstrtabfinalize (mergestrtab, outdata); in ld_generic_create_outfile()
5044 ebl_gstrtabfinalize (mergestrtab, outdata); in ld_generic_create_outfile()
5072 Elf_Data *outdata = elf_newdata (scn); in ld_generic_create_outfile() local
5073 if (outdata == NULL) in ld_generic_create_outfile()
5088 *outdata = *data; in ld_generic_create_outfile()
5099 outdata->d_buf = NULL; /* Not needed. */ in ld_generic_create_outfile()
5100 outdata->d_type = ELF_T_BYTE; in ld_generic_create_outfile()
5101 outdata->d_version = EV_CURRENT; in ld_generic_create_outfile()
5102 outdata->d_size = SCNINFO_SHDR (runp->shdr).sh_size; in ld_generic_create_outfile()
5103 outdata->d_align = SCNINFO_SHDR (runp->shdr).sh_addralign; in ld_generic_create_outfile()
5106 XElf_Off align = MAX (1, outdata->d_align); in ld_generic_create_outfile()
5114 outdata->d_off = offset; in ld_generic_create_outfile()
5116 offset += outdata->d_size; in ld_generic_create_outfile()
5127 Elf_Data *outdata = elf_newdata (scn); in ld_generic_create_outfile() local
5129 if (outdata == NULL) in ld_generic_create_outfile()
5134 outdata->d_buf = (void *) "\0ld (" PACKAGE_NAME ") " PACKAGE_VERSION; in ld_generic_create_outfile()
5135 outdata->d_size = strlen ((char *) outdata->d_buf + 1) + 2; in ld_generic_create_outfile()
5136 outdata->d_off = offset; in ld_generic_create_outfile()
5137 outdata->d_type = ELF_T_BYTE; in ld_generic_create_outfile()
5138 outdata->d_align = 1; in ld_generic_create_outfile()