Home
last modified time | relevance | path

Searched refs:ld_state (Results 1 – 9 of 9) sorted by relevance

/external/elfutils/0.153/src/
Dld.c219 struct ld_state ld_state; variable
321 obstack_init (&ld_state.smem); in main()
343 if (unlikely (ld_state.hash_style == hash_style_none)) in main()
344 ld_state.hash_style = hash_style_sysv; in main()
361 ld_state.srcfiles = NULL; in main()
374 ld_state.default_paths = ld_state.paths; in main()
375 ld_state.paths = ld_state.tailpaths = NULL; in main()
388 error_loading |= FILE_PROCESS (-1, last_file, &ld_state, &last_file); in main()
404 if (ld_state.file_type != relocatable_file_type) in main()
422 if (FLAG_UNRESOLVED (&ld_state) != 0) in main()
[all …]
Dldgeneric.c68 static const char **ld_generic_lib_extensions (struct ld_state *)
71 struct ld_state *statep);
73 struct ld_state *statep,
75 static void ld_generic_generate_sections (struct ld_state *statep);
76 static void ld_generic_create_sections (struct ld_state *statep);
77 static int ld_generic_flag_unresolved (struct ld_state *statep);
78 static int ld_generic_open_outfile (struct ld_state *statep, int machine,
80 static int ld_generic_create_outfile (struct ld_state *statep);
81 static void ld_generic_relocate_section (struct ld_state *statep,
85 static int ld_generic_finalize (struct ld_state *statep);
[all …]
Dldscript.y154 if (likely (ld_state.entry == NULL))
155 ld_state.entry = $3;
163 if (likely (ld_state.pagesize == 0))
164 ld_state.pagesize = $3;
168 if (likely (ld_state.interp == NULL)
169 && ld_state.file_type != dso_file_type)
170 ld_state.interp = $3;
222 if (ld_state.strip == strip_debug
223 && ebl_debugscn_p (ld_state.ebl, $1))
238 obstack_alloc (&ld_state.smem,
[all …]
Dld.h290 struct ld_state;
299 const char **(*lib_extensions) (struct ld_state *)
310 int (*file_process) (int fd, struct usedfiles *, struct ld_state *,
316 int (*file_close) (struct usedfiles *, struct ld_state *);
328 void (*create_sections) (struct ld_state *);
333 int (*flag_unresolved) (struct ld_state *);
339 void (*generate_sections) (struct ld_state *);
345 int (*open_outfile) (struct ld_state *, int, int, int);
350 int (*create_outfile) (struct ld_state *);
355 void (*relocate_section) (struct ld_state *, Elf_Scn *, struct scninfo *,
[all …]
Dldscript.c1647 if (likely (ld_state.entry == NULL))
1648 ld_state.entry = (yyvsp[(3) - (5)].str);
1666 if (likely (ld_state.pagesize == 0))
1667 ld_state.pagesize = (yyvsp[(3) - (5)].num);
1676 if (likely (ld_state.interp == NULL)
1677 && ld_state.file_type != dso_file_type)
1678 ld_state.interp = (yyvsp[(3) - (5)].str);
1781 if (ld_state.strip == strip_debug
1782 && ebl_debugscn_p (ld_state.ebl, (yyvsp[(1) - (4)].str)))
1802 obstack_alloc (&ld_state.smem,
[all …]
Di386_ld.c49 static int (*old_open_outfile) (struct ld_state *, int, int, int);
53 elf_i386_open_outfile (struct ld_state *statep, in elf_i386_open_outfile()
67 elf_i386_relocate_section (struct ld_state *statep __attribute__ ((unused)), in elf_i386_relocate_section()
197 elf_i386_initialize_plt (struct ld_state *statep, Elf_Scn *scn) in elf_i386_initialize_plt()
226 elf_i386_initialize_pltrel (struct ld_state *statep, Elf_Scn *scn) in elf_i386_initialize_pltrel()
246 elf_i386_initialize_got (struct ld_state *statep, Elf_Scn *scn) in elf_i386_initialize_got()
267 elf_i386_initialize_gotplt (struct ld_state *statep, Elf_Scn *scn) in elf_i386_initialize_gotplt()
362 elf_i386_finalize_plt (struct ld_state *statep, size_t nsym, in elf_i386_finalize_plt()
523 elf_i386_rel_type (struct ld_state *statep __attribute__ ((__unused__))) in elf_i386_rel_type()
531 elf_i386_count_relocations (struct ld_state *statep, struct scninfo *scninfo) in elf_i386_count_relocations()
[all …]
Dldlex.l194 {ID} { ldlval.str = obstack_strndup (&ld_state.smem,
198 {FILENAMECHAR1}{FILENAMECHAR} { ldlval.str = obstack_strndup (&ld_state.smem,
335 defined = ld_state.file_type == dso_file_type; in handle_ifdef()
DChangeLog880 * ld.h (struct ld_state): Add need_tls, tls_start, and tls_tcb
903 (struct ld_state): Add build_id and buildidscnidx elements.
938 (struct ld_state): Add gotpltscnidx.
969 time the archive is handled. Update ld_state.last_archive_used
972 ld_state.group_start_archive, ld_state.archives, and
973 ld_state.tailarchives.
975 freeing ELF handles for the archives, clear ld_state.archives and
977 loop. When clearing flags, also clear ld_state.group_start_archive.
1640 * ld.h (struct ld_state): Add eh_frame_hdr field.
1653 * ld.h (struct ld_state): Add execstack field.
[all …]
Dldlex.c1738 { ldlval.str = obstack_strndup (&ld_state.smem,
1745 { ldlval.str = obstack_strndup (&ld_state.smem,
2906 defined = ld_state.file_type == dso_file_type; in handle_ifdef()