Home
last modified time | relevance | path

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

/external/elfutils/src/
Dld.c210 struct ld_state ld_state; variable
307 obstack_init (&ld_state.smem); in main()
329 if (unlikely (ld_state.hash_style == hash_style_none)) in main()
330 ld_state.hash_style = hash_style_sysv; in main()
347 ld_state.srcfiles = NULL; in main()
360 ld_state.default_paths = ld_state.paths; in main()
361 ld_state.paths = ld_state.tailpaths = NULL; in main()
374 error_loading |= FILE_PROCESS (-1, last_file, &ld_state, &last_file); in main()
390 if (ld_state.file_type != relocatable_file_type) in main()
408 if (FLAG_UNRESOLVED (&ld_state) != 0) in main()
[all …]
Dldgeneric.c60 static const char **ld_generic_lib_extensions (struct ld_state *)
63 struct ld_state *statep);
65 struct ld_state *statep,
67 static void ld_generic_generate_sections (struct ld_state *statep);
68 static void ld_generic_create_sections (struct ld_state *statep);
69 static int ld_generic_flag_unresolved (struct ld_state *statep);
70 static int ld_generic_open_outfile (struct ld_state *statep, int machine,
72 static int ld_generic_create_outfile (struct ld_state *statep);
73 static void ld_generic_relocate_section (struct ld_state *statep,
77 static int ld_generic_finalize (struct ld_state *statep);
[all …]
Dldscript.y146 if (likely (ld_state.entry == NULL))
147 ld_state.entry = $3;
155 if (likely (ld_state.pagesize == 0))
156 ld_state.pagesize = $3;
160 if (likely (ld_state.interp == NULL)
161 && ld_state.file_type != dso_file_type)
162 ld_state.interp = $3;
214 if (ld_state.strip == strip_debug
215 && ebl_debugscn_p (ld_state.ebl, $1))
230 obstack_alloc (&ld_state.smem,
[all …]
Dld.h282 struct ld_state;
291 const char **(*lib_extensions) (struct ld_state *)
302 int (*file_process) (int fd, struct usedfiles *, struct ld_state *,
308 int (*file_close) (struct usedfiles *, struct ld_state *);
320 void (*create_sections) (struct ld_state *);
325 int (*flag_unresolved) (struct ld_state *);
331 void (*generate_sections) (struct ld_state *);
337 int (*open_outfile) (struct ld_state *, int, int, int);
342 int (*create_outfile) (struct ld_state *);
347 void (*relocate_section) (struct ld_state *, Elf_Scn *, struct scninfo *,
[all …]
Di386_ld.c41 static int (*old_open_outfile) (struct ld_state *, int, int, int);
45 elf_i386_open_outfile (struct ld_state *statep, in elf_i386_open_outfile()
59 elf_i386_relocate_section (struct ld_state *statep __attribute__ ((unused)), in elf_i386_relocate_section()
189 elf_i386_initialize_plt (struct ld_state *statep, Elf_Scn *scn) in elf_i386_initialize_plt()
218 elf_i386_initialize_pltrel (struct ld_state *statep, Elf_Scn *scn) in elf_i386_initialize_pltrel()
238 elf_i386_initialize_got (struct ld_state *statep, Elf_Scn *scn) in elf_i386_initialize_got()
259 elf_i386_initialize_gotplt (struct ld_state *statep, Elf_Scn *scn) in elf_i386_initialize_gotplt()
354 elf_i386_finalize_plt (struct ld_state *statep, size_t nsym, in elf_i386_finalize_plt()
515 elf_i386_rel_type (struct ld_state *statep __attribute__ ((__unused__))) in elf_i386_rel_type()
523 elf_i386_count_relocations (struct ld_state *statep, struct scninfo *scninfo) in elf_i386_count_relocations()
[all …]
Dldlex.l186 {ID} { ldlval.str = obstack_strndup (&ld_state.smem,
190 {FILENAMECHAR1}{FILENAMECHAR} { ldlval.str = obstack_strndup (&ld_state.smem,
327 defined = ld_state.file_type == dso_file_type; in handle_ifdef()
DChangeLog2246 * ld.h (struct ld_state): Add need_tls, tls_start, and tls_tcb
2269 (struct ld_state): Add build_id and buildidscnidx elements.
2304 (struct ld_state): Add gotpltscnidx.
2335 time the archive is handled. Update ld_state.last_archive_used
2338 ld_state.group_start_archive, ld_state.archives, and
2339 ld_state.tailarchives.
2341 freeing ELF handles for the archives, clear ld_state.archives and
2343 loop. When clearing flags, also clear ld_state.group_start_archive.
3006 * ld.h (struct ld_state): Add eh_frame_hdr field.
3019 * ld.h (struct ld_state): Add execstack field.
[all …]