• Home
  • Raw
  • Download

Lines Matching refs:outdata

4444 	  Elf_Data *outdata = elf_newdata (scn);  in ld_generic_create_outfile()  local
4445 if (outdata == NULL) in ld_generic_create_outfile()
4454 outdata->d_buf = (void *) interp; in ld_generic_create_outfile()
4455 outdata->d_size = strlen (interp) + 1; in ld_generic_create_outfile()
4456 outdata->d_type = ELF_T_BYTE; in ld_generic_create_outfile()
4457 outdata->d_off = 0; in ld_generic_create_outfile()
4458 outdata->d_align = 1; in ld_generic_create_outfile()
4459 outdata->d_version = EV_CURRENT; in ld_generic_create_outfile()
4491 Elf_Data *outdata; in ld_generic_create_outfile() local
4493 outdata = elf_newdata (scn); in ld_generic_create_outfile()
4494 if (outdata == NULL) in ld_generic_create_outfile()
4499 outdata->d_size = ld_state.relsize_total; in ld_generic_create_outfile()
4500 outdata->d_buf = xmalloc (outdata->d_size); in ld_generic_create_outfile()
4501 outdata->d_type = (REL_TYPE (&ld_state) == DT_REL in ld_generic_create_outfile()
4503 outdata->d_off = 0; in ld_generic_create_outfile()
4504 outdata->d_align = xelf_fsize (ld_state.outelf, ELF_T_ADDR, 1); in ld_generic_create_outfile()
4515 Elf_Data *outdata; in ld_generic_create_outfile() local
4525 outdata = elf_newdata (scn); in ld_generic_create_outfile()
4526 if (outdata == NULL) in ld_generic_create_outfile()
4532 outdata->d_size = xelf_fsize (ld_state.outelf, ELF_T_DYN, in ld_generic_create_outfile()
4534 outdata->d_buf = xcalloc (1, outdata->d_size); in ld_generic_create_outfile()
4535 outdata->d_type = ELF_T_DYN; in ld_generic_create_outfile()
4536 outdata->d_off = 0; in ld_generic_create_outfile()
4537 outdata->d_align = xelf_fsize (ld_state.outelf, ELF_T_ADDR, 1); in ld_generic_create_outfile()
4782 Elf_Data *outdata; in ld_generic_create_outfile() local
4815 outdata = elf_newdata (scn); in ld_generic_create_outfile()
4816 if (outdata == NULL) in ld_generic_create_outfile()
4881 ebl_strtabfinalize (mergestrtab, outdata); in ld_generic_create_outfile()
4955 ebl_wstrtabfinalize (mergestrtab, outdata); in ld_generic_create_outfile()
5034 ebl_gstrtabfinalize (mergestrtab, outdata); in ld_generic_create_outfile()
5062 Elf_Data *outdata = elf_newdata (scn); in ld_generic_create_outfile() local
5063 if (outdata == NULL) in ld_generic_create_outfile()
5078 *outdata = *data; in ld_generic_create_outfile()
5089 outdata->d_buf = NULL; /* Not needed. */ in ld_generic_create_outfile()
5090 outdata->d_type = ELF_T_BYTE; in ld_generic_create_outfile()
5091 outdata->d_version = EV_CURRENT; in ld_generic_create_outfile()
5092 outdata->d_size = SCNINFO_SHDR (runp->shdr).sh_size; in ld_generic_create_outfile()
5093 outdata->d_align = SCNINFO_SHDR (runp->shdr).sh_addralign; in ld_generic_create_outfile()
5096 XElf_Off align = MAX (1, outdata->d_align); in ld_generic_create_outfile()
5104 outdata->d_off = offset; in ld_generic_create_outfile()
5106 offset += outdata->d_size; in ld_generic_create_outfile()
5117 Elf_Data *outdata = elf_newdata (scn); in ld_generic_create_outfile() local
5119 if (outdata == NULL) in ld_generic_create_outfile()
5124 outdata->d_buf = (void *) "\0ld (" PACKAGE_NAME ") " PACKAGE_VERSION; in ld_generic_create_outfile()
5125 outdata->d_size = strlen ((char *) outdata->d_buf + 1) + 2; in ld_generic_create_outfile()
5126 outdata->d_off = offset; in ld_generic_create_outfile()
5127 outdata->d_type = ELF_T_BYTE; in ld_generic_create_outfile()
5128 outdata->d_align = 1; in ld_generic_create_outfile()