Lines Matching +full:unused +full:- +full:value
2 Copyright (C) 2000-2017 Red Hat, Inc.
159 /* Default callbacks. Mostly they just return the error value. */
216 int tag, uint64_t value,
226 result->reloc_type_name = default_reloc_type_name; in fill_defaults()
227 result->reloc_type_check = default_reloc_type_check; in fill_defaults()
228 result->reloc_valid_use = default_reloc_valid_use; in fill_defaults()
229 result->reloc_simple_type = default_reloc_simple_type; in fill_defaults()
230 result->gotpc_reloc_check = default_gotpc_reloc_check; in fill_defaults()
231 result->segment_type_name = default_segment_type_name; in fill_defaults()
232 result->section_type_name = default_section_type_name; in fill_defaults()
233 result->section_name = default_section_name; in fill_defaults()
234 result->machine_flag_name = default_machine_flag_name; in fill_defaults()
235 result->machine_flag_check = default_machine_flag_check; in fill_defaults()
236 result->machine_section_flag_check = default_machine_section_flag_check; in fill_defaults()
237 result->check_special_section = default_check_special_section; in fill_defaults()
238 result->symbol_type_name = default_symbol_type_name; in fill_defaults()
239 result->symbol_binding_name = default_symbol_binding_name; in fill_defaults()
240 result->dynamic_tag_name = default_dynamic_tag_name; in fill_defaults()
241 result->dynamic_tag_check = default_dynamic_tag_check; in fill_defaults()
242 result->osabi_name = default_osabi_name; in fill_defaults()
243 result->core_note_type_name = default_core_note_type_name; in fill_defaults()
244 result->object_note_type_name = default_object_note_type_name; in fill_defaults()
245 result->core_note = default_core_note; in fill_defaults()
246 result->auxv_info = default_auxv_info; in fill_defaults()
247 result->object_note = default_object_note; in fill_defaults()
248 result->debugscn_p = default_debugscn_p; in fill_defaults()
249 result->copy_reloc_p = default_copy_reloc_p; in fill_defaults()
250 result->none_reloc_p = default_none_reloc_p; in fill_defaults()
251 result->relative_reloc_p = default_relative_reloc_p; in fill_defaults()
252 result->check_special_symbol = default_check_special_symbol; in fill_defaults()
253 result->data_marker_symbol = default_data_marker_symbol; in fill_defaults()
254 result->check_st_other_bits = default_check_st_other_bits; in fill_defaults()
255 result->bss_plt_p = default_bss_plt_p; in fill_defaults()
256 result->return_value_location = default_return_value_location; in fill_defaults()
257 result->register_info = default_register_info; in fill_defaults()
258 result->check_object_attribute = default_check_object_attribute; in fill_defaults()
259 result->check_reloc_target_type = default_check_reloc_target_type; in fill_defaults()
260 result->disasm = NULL; in fill_defaults()
261 result->abi_cfi = default_abi_cfi; in fill_defaults()
262 result->destr = default_destr; in fill_defaults()
263 result->sysvhash_entrysize = sizeof (Elf32_Word); in fill_defaults()
288 /* XXX Currently all we do is to look at 'e_machine' value in the in openbackend()
289 ELF header. With an internal mapping table from EM_* value to in openbackend()
302 result->emulation = machines[cnt].emulation; in openbackend()
308 assert (sizeof (((Elf32_Ehdr *) 0)->e_machine) in openbackend()
309 == sizeof (((Elf64_Ehdr *) 0)->e_machine)); in openbackend()
316 result->machine = machines[cnt].em; in openbackend()
317 result->class = machines[cnt].class; in openbackend()
318 result->data = machines[cnt].data; in openbackend()
322 result->machine = elf->state.elf32.ehdr->e_machine; in openbackend()
323 result->class = elf->state.elf32.ehdr->e_ident[EI_CLASS]; in openbackend()
324 result->data = elf->state.elf32.ehdr->e_ident[EI_DATA]; in openbackend()
330 result->elf = elf; in openbackend()
332 assert (result->destr != NULL); in openbackend()
338 result->elf = elf; in openbackend()
345 result->elf = elf; in openbackend()
346 result->emulation = "<unknown>"; in openbackend()
369 return openbackend (elf, NULL, ehdr->e_machine); in ebl_openbackend()
389 /* Default callbacks. Mostly they just return the error value. */
391 default_reloc_type_name (int ignore __attribute__ ((unused)), in default_reloc_type_name()
392 char *buf __attribute__ ((unused)), in default_reloc_type_name()
393 size_t len __attribute__ ((unused))) in default_reloc_type_name()
399 default_reloc_type_check (int ignore __attribute__ ((unused))) in default_reloc_type_check()
405 default_reloc_valid_use (Elf *elf __attribute__ ((unused)), in default_reloc_valid_use()
406 int ignore __attribute__ ((unused))) in default_reloc_valid_use()
412 default_reloc_simple_type (Ebl *eh __attribute__ ((unused)), in default_reloc_simple_type()
413 int ignore __attribute__ ((unused)), in default_reloc_simple_type()
414 int *addsub __attribute__ ((unused))) in default_reloc_simple_type()
420 default_gotpc_reloc_check (Elf *elf __attribute__ ((unused)), in default_gotpc_reloc_check()
421 int ignore __attribute__ ((unused))) in default_gotpc_reloc_check()
427 default_segment_type_name (int ignore __attribute__ ((unused)), in default_segment_type_name()
428 char *buf __attribute__ ((unused)), in default_segment_type_name()
429 size_t len __attribute__ ((unused))) in default_segment_type_name()
435 default_section_type_name (int ignore __attribute__ ((unused)), in default_section_type_name()
436 char *buf __attribute__ ((unused)), in default_section_type_name()
437 size_t len __attribute__ ((unused))) in default_section_type_name()
443 default_section_name (int ignore __attribute__ ((unused)), in default_section_name()
444 int ignore2 __attribute__ ((unused)), in default_section_name()
445 char *buf __attribute__ ((unused)), in default_section_name()
446 size_t len __attribute__ ((unused))) in default_section_name()
452 default_machine_flag_name (Elf64_Word orig __attribute__ ((unused)), in default_machine_flag_name()
453 Elf64_Word *ignore __attribute__ ((unused))) in default_machine_flag_name()
459 default_machine_flag_check (Elf64_Word flags __attribute__ ((unused))) in default_machine_flag_check()
471 default_check_special_section (Ebl *ebl __attribute__ ((unused)), in default_check_special_section()
472 int ndx __attribute__ ((unused)), in default_check_special_section()
473 const GElf_Shdr *shdr __attribute__ ((unused)), in default_check_special_section()
474 const char *sname __attribute__ ((unused))) in default_check_special_section()
480 default_symbol_type_name (int ignore __attribute__ ((unused)), in default_symbol_type_name()
481 char *buf __attribute__ ((unused)), in default_symbol_type_name()
482 size_t len __attribute__ ((unused))) in default_symbol_type_name()
488 default_symbol_binding_name (int ignore __attribute__ ((unused)), in default_symbol_binding_name()
489 char *buf __attribute__ ((unused)), in default_symbol_binding_name()
490 size_t len __attribute__ ((unused))) in default_symbol_binding_name()
496 default_dynamic_tag_name (int64_t ignore __attribute__ ((unused)), in default_dynamic_tag_name()
497 char *buf __attribute__ ((unused)), in default_dynamic_tag_name()
498 size_t len __attribute__ ((unused))) in default_dynamic_tag_name()
504 default_dynamic_tag_check (int64_t ignore __attribute__ ((unused))) in default_dynamic_tag_check()
510 default_destr (struct ebl *ignore __attribute__ ((unused))) in default_destr()
515 default_osabi_name (int ignore __attribute__ ((unused)), in default_osabi_name()
516 char *buf __attribute__ ((unused)), in default_osabi_name()
517 size_t len __attribute__ ((unused))) in default_osabi_name()
523 default_core_note_type_name (uint32_t ignore __attribute__ ((unused)), in default_core_note_type_name()
524 char *buf __attribute__ ((unused)), in default_core_note_type_name()
525 size_t len __attribute__ ((unused))) in default_core_note_type_name()
531 default_auxv_info (GElf_Xword a_type __attribute__ ((unused)), in default_auxv_info()
532 const char **name __attribute__ ((unused)), in default_auxv_info()
533 const char **format __attribute__ ((unused))) in default_auxv_info()
539 default_core_note (const GElf_Nhdr *nhdr __attribute__ ((unused)), in default_core_note()
540 const char *name __attribute__ ((unused)), in default_core_note()
541 GElf_Word *ro __attribute__ ((unused)), in default_core_note()
542 size_t *nregloc __attribute__ ((unused)), in default_core_note()
544 __attribute__ ((unused)), in default_core_note()
545 size_t *nitems __attribute__ ((unused)), in default_core_note()
546 const Ebl_Core_Item **items __attribute__ ((unused))) in default_core_note()
552 default_object_note_type_name (const char *name __attribute__ ((unused)), in default_object_note_type_name()
553 uint32_t ignore __attribute__ ((unused)), in default_object_note_type_name()
554 char *buf __attribute__ ((unused)), in default_object_note_type_name()
555 size_t len __attribute__ ((unused))) in default_object_note_type_name()
561 default_object_note (const char *name __attribute__ ((unused)), in default_object_note()
562 uint32_t type __attribute__ ((unused)), in default_object_note()
563 uint32_t descsz __attribute__ ((unused)), in default_object_note()
564 const char *desc __attribute__ ((unused))) in default_object_note()
629 default_copy_reloc_p (int reloc __attribute__ ((unused))) in default_copy_reloc_p()
637 default_check_special_symbol (Elf *elf __attribute__ ((unused)), in strong_alias()
638 const GElf_Sym *sym __attribute__ ((unused)), in strong_alias()
639 const char *name __attribute__ ((unused)), in strong_alias()
640 const GElf_Shdr *destshdr __attribute__ ((unused))) in strong_alias()
646 default_data_marker_symbol (const GElf_Sym *sym __attribute__ ((unused)), in default_data_marker_symbol()
647 const char *sname __attribute__ ((unused))) in default_data_marker_symbol()
653 default_check_st_other_bits (unsigned char st_other __attribute__ ((unused))) in default_check_st_other_bits()
660 default_bss_plt_p (Elf *elf __attribute__ ((unused))) in default_bss_plt_p()
666 default_return_value_location (Dwarf_Die *functypedie __attribute__ ((unused)), in default_return_value_location()
667 const Dwarf_Op **locops __attribute__ ((unused))) in default_return_value_location()
669 return -2; in default_return_value_location()
673 default_register_info (Ebl *ebl __attribute__ ((unused)), in default_register_info()
684 *bits = -1; in default_register_info()
690 default_check_object_attribute (Ebl *ebl __attribute__ ((unused)), in default_check_object_attribute()
691 const char *vendor __attribute__ ((unused)), in default_check_object_attribute()
692 int tag __attribute__ ((unused)), in default_check_object_attribute()
693 uint64_t value __attribute__ ((unused)), in default_check_object_attribute() argument
702 default_check_reloc_target_type (Ebl *ebl __attribute__ ((unused)), in default_check_reloc_target_type()
703 Elf64_Word sh_type __attribute__ ((unused))) in default_check_reloc_target_type()
709 default_abi_cfi (Ebl *ebl __attribute__ ((unused)), in default_abi_cfi()
710 Dwarf_CIE *abi_info __attribute__ ((unused))) in default_abi_cfi()
712 return -1; in default_abi_cfi()