Home
last modified time | relevance | path

Searched refs:section_offsets (Results 1 – 25 of 32) sorted by relevance

12

/freebsd-12.1/contrib/gdb/gdb/
H A Ddbxread.c1832 if (nlist.n_value == ANOFFSET (objfile->section_offsets, in read_dbx_symtab()
1865 != ANOFFSET (objfile->section_offsets, in read_dbx_symtab()
1897 if (nlist.n_value == ANOFFSET (objfile->section_offsets, in read_dbx_symtab()
1930 != ANOFFSET (objfile->section_offsets, in read_dbx_symtab()
2144 start_psymtab_common (objfile, objfile->section_offsets, in start_psymtab()
2284 subpst->section_offsets = pst->section_offsets; in end_psymtab()
2467 struct section_offsets *section_offsets; in read_ofile_symtab() local
2478 section_offsets = pst->section_offsets; in read_ofile_symtab()
2573 namestring, section_offsets, objfile); in read_ofile_symtab()
2654 struct section_offsets *section_offsets, in process_one_symbol() argument
[all …]
H A Dmipsread.c55 read_alphacoff_dynamic_symtab (struct section_offsets *,
102 read_alphacoff_dynamic_symtab (objfile->section_offsets, objfile); in mipscoff_symfile_read()
221 read_alphacoff_dynamic_symtab (struct section_offsets *section_offsets, in read_alphacoff_dynamic_symtab() argument
393 sym_value += ANOFFSET (section_offsets, SECT_OFF_TEXT (objfile)); in read_alphacoff_dynamic_symtab()
401 sym_value += ANOFFSET (section_offsets, SECT_OFF_DATA (objfile)); in read_alphacoff_dynamic_symtab()
409 sym_value += ANOFFSET (section_offsets, SECT_OFF_BSS (objfile)); in read_alphacoff_dynamic_symtab()
H A Dsomread.c51 struct section_offsets *);
86 struct section_offsets *section_offsets) in som_symtab_read() argument
98 text_offset = ANOFFSET (section_offsets, 0); in som_symtab_read()
99 data_offset = ANOFFSET (section_offsets, 1); in som_symtab_read()
356 som_symtab_read (abfd, objfile, objfile->section_offsets); in som_symfile_read()
434 objfile->section_offsets = (struct section_offsets *) in som_symfile_offsets()
451 if (!som_solib_section_offsets (objfile, objfile->section_offsets)) in som_symfile_offsets()
462 (objfile->section_offsets)->offsets[i] = text_addr; in som_symfile_offsets()
H A Dmdebugread.c606 struct section_offsets *section_offsets, struct objfile *objfile) in parse_symbol() argument
637 sh->value += ANOFFSET (section_offsets, SECT_OFF_TEXT (objfile)); in parse_symbol()
648 sh->value += ANOFFSET (section_offsets, SECT_OFF_BSS (objfile)); in parse_symbol()
2042 static void parse_external (EXTR *, int, struct section_offsets *,
2046 parse_external (EXTR *es, int bigend, struct section_offsets *section_offsets, in parse_external() argument
2445 svalue += ANOFFSET (objfile->section_offsets, in parse_partial_symbols()
3923 valu += ANOFFSET (pst->section_offsets, in psymtab_to_symtab_1()
3935 pst->section_offsets, pst->objfile); in psymtab_to_symtab_1()
3942 pst->section_offsets, pst->objfile); in psymtab_to_symtab_1()
4095 sym_ptr, fh->fBigendian, pst->section_offsets, pst->objfile); in psymtab_to_symtab_1()
[all …]
H A Dsymfile.c452 objfile->section_offsets = (struct section_offsets *) in default_symfile_offsets()
455 memset (objfile->section_offsets, 0, in default_symfile_offsets()
515 struct section_offsets *offsets, in syms_from_objfile()
656 objfile->section_offsets in syms_from_objfile()
657 = ((struct section_offsets *) in syms_from_objfile()
1810 struct section_offsets *offsets; in reread_symbols()
1849 offsets = ((struct section_offsets *) in reread_symbols()
1851 memcpy (offsets, objfile->section_offsets, in reread_symbols()
1917 objfile->section_offsets = (struct section_offsets *) in reread_symbols()
2536 struct section_offsets *section_offsets, char *filename, in start_psymtab_common() argument
[all …]
H A Dxcoffread.c1115 cs->c_value + ANOFFSET (objfile->section_offsets, in read_xcoff_symtab()
1257 CORE_ADDR off = ANOFFSET (objfile->section_offsets, in read_xcoff_symtab()
1302 + ANOFFSET (objfile->section_offsets, in read_xcoff_symtab()
1371 + ANOFFSET (objfile->section_offsets, in read_xcoff_symtab()
1393 + ANOFFSET (objfile->section_offsets, in read_xcoff_symtab()
1460 off = ANOFFSET (objfile->section_offsets, sec); in process_xcoff_symbol()
1559 + ANOFFSET (objfile->section_offsets, in process_xcoff_symbol()
1943 start_psymtab_common (objfile, objfile->section_offsets, in xcoff_start_psymtab()
2010 subpst->section_offsets = pst->section_offsets; in xcoff_end_psymtab()
2962 objfile->section_offsets = (struct section_offsets *) in xcoff_symfile_offsets()
[all …]
H A Dsomsolib.h32 struct section_offsets;
44 struct section_offsets *);
H A Dobjfiles.h401 struct section_offsets *section_offsets; member
555 extern void objfile_relocate (struct objfile *, struct section_offsets *);
H A Dsymtab.h736 struct section_offsets struct
748 (sizeof (struct section_offsets) \
749 + sizeof (((struct section_offsets *) 0)->offsets) * ((n)-1))
886 struct section_offsets *section_offsets; member
H A Dsymfile.h185 struct section_offsets *, int, int, int);
213 struct section_offsets *,
H A Dpa64solib.c326 (so->objfile->section_offsets)->offsets[SECT_OFF_TEXT (so->objfile)] in pa64_solib_load_symbols()
328 (so->objfile->section_offsets)->offsets[SECT_OFF_DATA (so->objfile)] in pa64_solib_load_symbols()
336 p->addr += ANOFFSET (so->objfile->section_offsets, SECT_OFF_TEXT (so->objfile)); in pa64_solib_load_symbols()
337 p->endaddr += ANOFFSET (so->objfile->section_offsets, SECT_OFF_TEXT (so->objfile)); in pa64_solib_load_symbols()
341 p->addr += ANOFFSET (so->objfile->section_offsets, SECT_OFF_DATA (so->objfile)); in pa64_solib_load_symbols()
342 p->endaddr += ANOFFSET (so->objfile->section_offsets, SECT_OFF_DATA (so->objfile)); in pa64_solib_load_symbols()
H A Delfread.c179 offset = ANOFFSET (objfile->section_offsets, sym->section->index); in elf_symtab_read()
743 pst->section_offsets = (struct section_offsets *) in elfstab_offset_sections()
747 (pst->section_offsets)->offsets[i] = maybe->sections[i]; in elfstab_offset_sections()
H A Dobjfiles.c495 objfile_relocate (struct objfile *objfile, struct section_offsets *new_offsets) in objfile_relocate()
497 struct section_offsets *delta = in objfile_relocate()
498 ((struct section_offsets *) in objfile_relocate()
507 ANOFFSET (new_offsets, i) - ANOFFSET (objfile->section_offsets, i); in objfile_relocate()
624 (objfile->section_offsets)->offsets[i] = ANOFFSET (new_offsets, i); in objfile_relocate()
H A Dcoffread.c763 tmpaddr = cs->c_value + ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)); in coff_symtab_read()
829 cs->c_value + ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)), in coff_symtab_read()
898 tmpaddr += ANOFFSET (objfile->section_offsets, sec); in coff_symtab_read()
1030 + ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)), in coff_symtab_read()
1034 + ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)), in coff_symtab_read()
1046 tmpaddr += ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)); in coff_symtab_read()
1070 cs->c_value + ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)); in coff_symtab_read()
1377 + ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile))); in enter_linenos()
1490 SYMBOL_VALUE (sym) += ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)); in process_coff_symbol()
1520 SYMBOL_VALUE_ADDRESS (sym) += ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)); in process_coff_symbol()
[all …]
H A Dsolib-sunos.c702 struct section_offsets *new_offsets; in sunos_relocate_main_executable()
735 sizeof (struct section_offsets)); in sunos_relocate_main_executable()
740 if (displacement != ANOFFSET (symfile_objfile->section_offsets, i)) in sunos_relocate_main_executable()
H A Dhpread.c184 struct section_offsets *, char *);
224 (union dnttentry *, char *, struct section_offsets *,
799 ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile))), in scan_procs()
812 ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile))), in scan_procs()
2063 ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)); in hpread_build_psymtabs()
2084 ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)); in hpread_build_psymtabs()
2392 start_psymtab_common (objfile, objfile->section_offsets, in hpread_start_psymtab()
2471 subpst->section_offsets = pst->section_offsets; in hpread_end_psymtab()
2715 pst->section_offsets, pst->filename); in hpread_psymtab_to_symtab_1()
2786 struct section_offsets *section_offsets, char *filename) in hpread_expand_symtab() argument
[all …]
H A Dpa64solib.h24 struct section_offsets;
H A Dsomsolib.c362 p->addr += ANOFFSET (so->objfile->section_offsets, SECT_OFF_TEXT (so->objfile)); in som_solib_load_symbols()
363 p->endaddr += ANOFFSET (so->objfile->section_offsets, SECT_OFF_TEXT (so->objfile)); in som_solib_load_symbols()
367 p->addr += ANOFFSET (so->objfile->section_offsets, SECT_OFF_DATA (so->objfile)); in som_solib_load_symbols()
368 p->endaddr += ANOFFSET (so->objfile->section_offsets, SECT_OFF_DATA (so->objfile)); in som_solib_load_symbols()
1389 struct section_offsets *offsets) in som_solib_section_offsets()
H A Dstabsread.h176 struct section_offsets *, struct objfile *);
H A Dnlmread.c187 offset = ANOFFSET (objfile->section_offsets, 0); in nlm_symfile_read()
H A Dsolib-svr4.c1237 struct section_offsets *new_offsets; in svr4_relocate_main_executable()
1270 sizeof (struct section_offsets)); in svr4_relocate_main_executable()
1275 if (displacement != ANOFFSET (symfile_objfile->section_offsets, i)) in svr4_relocate_main_executable()
H A Dremote-vx.c665 struct section_offsets *offs; in vx_add_symbols()
679 (struct section_offsets *) in vx_add_symbols()
681 memcpy (offs, objfile->section_offsets, in vx_add_symbols()
H A Drs6000-nat.c650 struct section_offsets *new_offsets; in vmap_symtab()
668 (struct section_offsets *) in vmap_symtab()
672 new_offsets->offsets[i] = ANOFFSET (objfile->section_offsets, i); in vmap_symtab()
H A Dcoff-pe-read.c309 += ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)); in read_pe_exported_syms()
H A Ddwarfread.c319 static struct section_offsets *base_section_offsets;
686 base_section_offsets = objfile->section_offsets; in dwarf_build_psymtabs()
687 baseaddr = ANOFFSET (objfile->section_offsets, 0); in dwarf_build_psymtabs()
2270 base_section_offsets = pst->section_offsets; in read_ofile_symtab()
2271 baseaddr = ANOFFSET (pst->section_offsets, 0); in read_ofile_symtab()

12