/freebsd/contrib/elftoolchain/libdwarf/ |
H A D | libdwarf_reloc.c | 136 Dwarf_Rel_Section drs; in _dwarf_reloc_section_init() local 142 if ((drs = calloc(1, sizeof(struct _Dwarf_Rel_Section))) == NULL) { in _dwarf_reloc_section_init() 147 drs->drs_ref = ref; in _dwarf_reloc_section_init() 154 drs->drs_addend = 1; in _dwarf_reloc_section_init() 156 drs->drs_addend = 0; in _dwarf_reloc_section_init() 164 drs->drs_addend ? ".rela" : ".rel", ref->ds_name); in _dwarf_reloc_section_init() 165 if (_dwarf_section_init(dbg, &drs->drs_ds, name, pseudo, error) != in _dwarf_reloc_section_init() 167 free(drs); in _dwarf_reloc_section_init() 172 STAILQ_INIT(&drs->drs_dre); in _dwarf_reloc_section_init() 173 STAILQ_INSERT_TAIL(&dbg->dbgp_drslist, drs, drs_next); in _dwarf_reloc_section_init() [all …]
|
H A D | dwarf_pro_reloc.c | 57 Dwarf_Rel_Section drs; in dwarf_get_relocation_info() local 83 drs = dbg->dbgp_drspos; in dwarf_get_relocation_info() 84 assert(drs->drs_ds != NULL && drs->drs_ref != NULL); in dwarf_get_relocation_info() 85 assert(drs->drs_drecnt > 0); in dwarf_get_relocation_info() 87 *elf_section_index = drs->drs_ds->ds_ndx; in dwarf_get_relocation_info() 88 *elf_section_link = drs->drs_ref->ds_ndx; in dwarf_get_relocation_info() 89 *reloc_entry_count = drs->drs_drecnt; in dwarf_get_relocation_info() 91 if (drs->drs_drd == NULL) { in dwarf_get_relocation_info() 92 drs->drs_drd = calloc(*reloc_entry_count, in dwarf_get_relocation_info() 94 if (drs->drs_drd == NULL) { in dwarf_get_relocation_info() [all …]
|
H A D | libdwarf_arange.c | 168 Dwarf_Rel_Section drs; in _dwarf_arange_gen() local 191 RCHECK(_dwarf_reloc_section_init(dbg, &drs, ds, error)); in _dwarf_arange_gen() 196 RCHECK(_dwarf_reloc_entry_add(dbg, drs, ds, dwarf_drt_data_reloc, 4, in _dwarf_arange_gen() 208 RCHECK(_dwarf_reloc_entry_add(dbg, drs, ds, in _dwarf_arange_gen() 212 RCHECK(_dwarf_reloc_entry_add_pair(dbg, drs, ds, in _dwarf_arange_gen() 230 RCHECK(_dwarf_reloc_section_finalize(dbg, drs, error)); in _dwarf_arange_gen() 235 _dwarf_reloc_section_free(dbg, &drs); in _dwarf_arange_gen()
|
H A D | libdwarf_attr.c | 215 _dwarf_attr_write(Dwarf_P_Debug dbg, Dwarf_P_Section ds, Dwarf_Rel_Section drs, in _dwarf_attr_write() argument 239 ret = _dwarf_reloc_entry_add(dbg, drs, ds, in _dwarf_attr_write() 282 ret = _dwarf_reloc_entry_add(dbg, drs, ds, in _dwarf_attr_write() 301 ret = _dwarf_reloc_entry_add(dbg, drs, ds, in _dwarf_attr_write() 309 ret = _dwarf_reloc_entry_add(dbg, drs, ds, in _dwarf_attr_write() 341 ret = _dwarf_reloc_entry_add(dbg, drs, ds, in _dwarf_attr_write() 360 ret = _dwarf_reloc_entry_add(dbg, drs, ds, dwarf_drt_data_reloc, in _dwarf_attr_write() 441 _dwarf_attr_gen(Dwarf_P_Debug dbg, Dwarf_P_Section ds, Dwarf_Rel_Section drs, in _dwarf_attr_gen() argument 450 ret = _dwarf_attr_write(dbg, ds, drs, cu, at, pass2, error); in _dwarf_attr_gen()
|
H A D | libdwarf_nametbl.c | 173 Dwarf_Rel_Section drs; in _dwarf_nametbl_gen() local 195 RCHECK(_dwarf_reloc_section_init(dbg, &drs, ds, error)); in _dwarf_nametbl_gen() 200 RCHECK(_dwarf_reloc_entry_add(dbg, drs, ds, dwarf_drt_data_reloc, 4, in _dwarf_nametbl_gen() 222 RCHECK(_dwarf_reloc_section_finalize(dbg, drs, error)); in _dwarf_nametbl_gen() 227 _dwarf_reloc_section_free(dbg, &drs); in _dwarf_nametbl_gen()
|
H A D | libdwarf_die.c | 276 _dwarf_die_gen_recursive(Dwarf_P_Debug dbg, Dwarf_CU cu, Dwarf_Rel_Section drs, in _dwarf_die_gen_recursive() argument 365 ret = _dwarf_attr_gen(dbg, ds, drs, cu, die, pass2, error); in _dwarf_die_gen_recursive() 371 ret = _dwarf_die_gen_recursive(dbg, cu, drs, die->die_child, in _dwarf_die_gen_recursive() 379 ret = _dwarf_die_gen_recursive(dbg, cu, drs, die->die_right, in _dwarf_die_gen_recursive() 397 _dwarf_die_gen(Dwarf_P_Debug dbg, Dwarf_CU cu, Dwarf_Rel_Section drs, in _dwarf_die_gen() argument 418 RCHECK(_dwarf_die_gen_recursive(dbg, cu, drs, die, 0, error)); in _dwarf_die_gen() 421 RCHECK(_dwarf_die_gen_recursive(dbg, cu, drs, die, 1, error)); in _dwarf_die_gen()
|
H A D | libdwarf_info.c | 291 Dwarf_Rel_Section drs; in _dwarf_info_gen() local 318 if ((ret = _dwarf_reloc_section_init(dbg, &drs, ds, error)) != in _dwarf_info_gen() 332 RCHECK(_dwarf_reloc_entry_add(dbg, drs, ds, dwarf_drt_data_reloc, 4, in _dwarf_info_gen() 339 RCHECK(_dwarf_die_gen(dbg, cu, drs, error)); in _dwarf_info_gen() 353 RCHECK(_dwarf_reloc_section_finalize(dbg, drs, error)); in _dwarf_info_gen() 358 _dwarf_reloc_section_free(dbg, &drs); in _dwarf_info_gen()
|
H A D | libdwarf_lineno.c | 485 Dwarf_Rel_Section drs, Dwarf_Error * error) in _dwarf_lineno_gen_program() argument 519 RCHECK(_dwarf_reloc_entry_add(dbg, drs, ds, in _dwarf_lineno_gen_program() 656 Dwarf_Rel_Section drs; in _dwarf_lineno_gen() local 681 if ((ret = _dwarf_reloc_section_init(dbg, &drs, ds, error)) != in _dwarf_lineno_gen() 736 RCHECK(_dwarf_lineno_gen_program(dbg, ds, drs, error)); in _dwarf_lineno_gen() 747 RCHECK(_dwarf_reloc_section_finalize(dbg, drs, error)); in _dwarf_lineno_gen() 752 _dwarf_reloc_section_free(dbg, &drs); in _dwarf_lineno_gen()
|
H A D | libdwarf_frame.c | 1483 Dwarf_Rel_Section drs, Dwarf_P_Fde fde, Dwarf_Error *error) in _dwarf_frame_gen_fde() argument 1489 assert(dbg != NULL && ds != NULL && drs != NULL); in _dwarf_frame_gen_fde() 1500 RCHECK(_dwarf_reloc_entry_add(dbg, drs, ds, dwarf_drt_data_reloc, 4, in _dwarf_frame_gen_fde() 1504 RCHECK(_dwarf_reloc_entry_add(dbg, drs, ds, dwarf_drt_data_reloc, in _dwarf_frame_gen_fde() 1514 RCHECK(_dwarf_reloc_entry_add_pair(dbg, drs, ds, in _dwarf_frame_gen_fde() 1542 Dwarf_Rel_Section drs; in _dwarf_frame_gen() local 1556 RCHECK(_dwarf_reloc_section_init(dbg, &drs, ds, error)); in _dwarf_frame_gen() 1564 RCHECK(_dwarf_frame_gen_fde(dbg, ds, drs, fde, error)); in _dwarf_frame_gen() 1570 RCHECK(_dwarf_reloc_section_finalize(dbg, drs, error)); in _dwarf_frame_gen() 1575 _dwarf_reloc_section_free(dbg, &drs); in _dwarf_frame_gen()
|
/freebsd/sbin/routed/ |
H A D | rdisc.c | 82 static struct dr drs[MAX_ADS]; variable 260 for (drp = drs; drp < &drs[MAX_ADS]; drp++) { in set_supplier() 317 for (drp = drs; drp < &drs[MAX_ADS]; drp++) { in rdisc_age() 362 for (drp = drs; drp < &drs[MAX_ADS]; drp++) { in if_bad_rdisc() 410 for (drp = drs; drp < &drs[MAX_ADS]; drp++) { in del_rdisc() 456 for (drp = drs; drp < &drs[MAX_ADS]; drp++) { in rdisc_sort() 601 for (new_drp = NULL, drp = drs; drp < &drs[MAX_ADS]; drp++) { in parse_ad()
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | wordprocessors | 113 !:mime application/x-wordperfect-drs 115 !:ext drs
|