Home
last modified time | relevance | path

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

12

/openbsd/gnu/usr.bin/binutils/gdb/
H A Ddbxread.c1835 if (nlist.n_value == ANOFFSET (objfile->section_offsets, in read_dbx_symtab()
1868 != ANOFFSET (objfile->section_offsets, in read_dbx_symtab()
1900 if (nlist.n_value == ANOFFSET (objfile->section_offsets, in read_dbx_symtab()
1933 != ANOFFSET (objfile->section_offsets, in read_dbx_symtab()
2137 start_psymtab_common (objfile, objfile->section_offsets, in start_psymtab()
2277 subpst->section_offsets = pst->section_offsets; in end_psymtab()
2460 struct section_offsets *section_offsets; in read_ofile_symtab() local
2471 section_offsets = pst->section_offsets; in read_ofile_symtab()
2566 namestring, section_offsets, objfile); in read_ofile_symtab()
2647 struct section_offsets *section_offsets, in process_one_symbol() argument
[all …]
H A Dmipsread.c55 read_alphacoff_dynamic_symtab (struct section_offsets *,
99 read_alphacoff_dynamic_symtab (objfile->section_offsets, objfile); in mipscoff_symfile_read()
199 read_alphacoff_dynamic_symtab (struct section_offsets *section_offsets, in read_alphacoff_dynamic_symtab() argument
371 sym_value += ANOFFSET (section_offsets, SECT_OFF_TEXT (objfile)); in read_alphacoff_dynamic_symtab()
379 sym_value += ANOFFSET (section_offsets, SECT_OFF_DATA (objfile)); in read_alphacoff_dynamic_symtab()
387 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()
357 som_symtab_read (abfd, objfile, objfile->section_offsets); in som_symfile_read()
435 objfile->section_offsets = (struct section_offsets *) in som_symfile_offsets()
452 if (!som_solib_section_offsets (objfile, objfile->section_offsets)) in som_symfile_offsets()
463 (objfile->section_offsets)->offsets[i] = text_addr; in som_symfile_offsets()
H A Dmdebugread.c597 struct section_offsets *section_offsets, struct objfile *objfile) in parse_symbol() argument
628 sh->value += ANOFFSET (section_offsets, SECT_OFF_TEXT (objfile)); in parse_symbol()
639 sh->value += ANOFFSET (section_offsets, SECT_OFF_BSS (objfile)); in parse_symbol()
2033 static void parse_external (EXTR *, int, struct section_offsets *,
2037 parse_external (EXTR *es, int bigend, struct section_offsets *section_offsets, in parse_external() argument
2436 svalue += ANOFFSET (objfile->section_offsets, in parse_partial_symbols()
3907 valu += ANOFFSET (pst->section_offsets, in psymtab_to_symtab_1()
3919 pst->section_offsets, pst->objfile); in psymtab_to_symtab_1()
3926 pst->section_offsets, pst->objfile); in psymtab_to_symtab_1()
4079 sym_ptr, fh->fBigendian, pst->section_offsets, pst->objfile); in psymtab_to_symtab_1()
[all …]
H A Dsomsolib.h32 struct section_offsets;
44 struct section_offsets *);
H A Dsymfile.c466 objfile->section_offsets = (struct section_offsets *) in default_symfile_offsets()
469 memset (objfile->section_offsets, 0, in default_symfile_offsets()
670 objfile->section_offsets in syms_from_objfile()
671 = ((struct section_offsets *) in syms_from_objfile()
1840 struct section_offsets *offsets; in reread_symbols()
1879 offsets = ((struct section_offsets *) in reread_symbols()
1881 memcpy (offsets, objfile->section_offsets, in reread_symbols()
1947 objfile->section_offsets = (struct section_offsets *) in reread_symbols()
1950 memcpy (objfile->section_offsets, offsets, in reread_symbols()
2570 struct section_offsets *section_offsets, char *filename, in start_psymtab_common() argument
[all …]
H A Dobjfiles.h374 struct section_offsets *section_offsets; member
528 extern void objfile_relocate (struct objfile *, struct section_offsets *);
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()
1942 start_psymtab_common (objfile, objfile->section_offsets, in xcoff_start_psymtab()
2009 subpst->section_offsets = pst->section_offsets; in xcoff_end_psymtab()
2961 objfile->section_offsets = (struct section_offsets *) in xcoff_symfile_offsets()
[all …]
H A Dsymtab.h750 struct section_offsets struct
762 (sizeof (struct section_offsets) \
763 + sizeof (((struct section_offsets *) 0)->offsets) * ((n)-1))
904 struct section_offsets *section_offsets; member
H A Dsymfile.h185 struct section_offsets *, int, int, int);
222 struct section_offsets *,
H A Delfread.c206 offset = ANOFFSET (objfile->section_offsets, sym->section->index); in elf_symtab_read()
714 pst->section_offsets = (struct section_offsets *) in elfstab_offset_sections()
718 (pst->section_offsets)->offsets[i] = maybe->sections[i]; in elfstab_offset_sections()
H A Dobjfiles.c497 objfile_relocate (struct objfile *objfile, struct section_offsets *new_offsets) in objfile_relocate()
499 struct section_offsets *delta = in objfile_relocate()
500 ((struct section_offsets *) in objfile_relocate()
509 ANOFFSET (new_offsets, i) - ANOFFSET (objfile->section_offsets, i); in objfile_relocate()
626 (objfile->section_offsets)->offsets[i] = ANOFFSET (new_offsets, i); in objfile_relocate()
H A Dpa64solib.c328 (so->objfile->section_offsets)->offsets[SECT_OFF_TEXT (so->objfile)] in pa64_solib_load_symbols()
330 (so->objfile->section_offsets)->offsets[SECT_OFF_DATA (so->objfile)] in pa64_solib_load_symbols()
338 p->addr += ANOFFSET (so->objfile->section_offsets, SECT_OFF_TEXT (so->objfile)); in pa64_solib_load_symbols()
339 p->endaddr += ANOFFSET (so->objfile->section_offsets, SECT_OFF_TEXT (so->objfile)); in pa64_solib_load_symbols()
343 p->addr += ANOFFSET (so->objfile->section_offsets, SECT_OFF_DATA (so->objfile)); in pa64_solib_load_symbols()
344 p->endaddr += ANOFFSET (so->objfile->section_offsets, SECT_OFF_DATA (so->objfile)); in pa64_solib_load_symbols()
H A Dsolib-svr4.c636 struct section_offsets *new_offsets; in svr4_current_sos()
644 sizeof (struct section_offsets)); in svr4_current_sos()
649 if (displacement != ANOFFSET (symfile_objfile->section_offsets, i)) in svr4_current_sos()
1189 struct section_offsets *new_offsets; in svr4_relocate_main_executable()
1222 sizeof (struct section_offsets)); in svr4_relocate_main_executable()
1227 if (displacement != ANOFFSET (symfile_objfile->section_offsets, i)) in svr4_relocate_main_executable()
H A Dcoffread.c766 tmpaddr = cs->c_value + ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)); in coff_symtab_read()
832 cs->c_value + ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)), in coff_symtab_read()
901 tmpaddr += ANOFFSET (objfile->section_offsets, sec); in coff_symtab_read()
1033 + ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)), in coff_symtab_read()
1037 + ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)), in coff_symtab_read()
1049 tmpaddr += ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)); in coff_symtab_read()
1073 cs->c_value + ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)); in coff_symtab_read()
1380 + ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile))); in enter_linenos()
1493 SYMBOL_VALUE (sym) += ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)); in process_coff_symbol()
1523 SYMBOL_VALUE_ADDRESS (sym) += ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)); in process_coff_symbol()
[all …]
H A Dhpread.c185 struct section_offsets *, char *);
225 (union dnttentry *, char *, struct section_offsets *,
797 ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile))), in scan_procs()
810 ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile))), in scan_procs()
2061 ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)); in hpread_build_psymtabs()
2082 ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)); in hpread_build_psymtabs()
2390 start_psymtab_common (objfile, objfile->section_offsets, in hpread_start_psymtab()
2469 subpst->section_offsets = pst->section_offsets; in hpread_end_psymtab()
2713 pst->section_offsets, pst->filename); in hpread_psymtab_to_symtab_1()
2784 struct section_offsets *section_offsets, char *filename) in hpread_expand_symtab() argument
[all …]
H A Dpa64solib.h24 struct section_offsets;
H A Dsomsolib.c365 p->addr += ANOFFSET (so->objfile->section_offsets, SECT_OFF_TEXT (so->objfile)); in som_solib_load_symbols()
366 p->endaddr += ANOFFSET (so->objfile->section_offsets, SECT_OFF_TEXT (so->objfile)); in som_solib_load_symbols()
370 p->addr += ANOFFSET (so->objfile->section_offsets, SECT_OFF_DATA (so->objfile)); in som_solib_load_symbols()
371 p->endaddr += ANOFFSET (so->objfile->section_offsets, SECT_OFF_DATA (so->objfile)); in som_solib_load_symbols()
1392 struct section_offsets *offsets) in som_solib_section_offsets()
H A Dstabsread.h176 struct section_offsets *, struct objfile *);
H A Dsolib-aix5.c698 struct section_offsets *new_offsets; in aix5_relocate_main_executable()
718 sizeof (struct section_offsets)); in aix5_relocate_main_executable()
721 new_offsets->offsets[i] = ANOFFSET (symfile_objfile->section_offsets, i); in aix5_relocate_main_executable()
H A Dnlmread.c186 offset = ANOFFSET (objfile->section_offsets, 0); in nlm_symfile_read()
H A Dsolib-frv.c845 struct section_offsets *new_offsets; in frv_relocate_main_executable()
868 sizeof (struct section_offsets)); in frv_relocate_main_executable()
883 offset = ANOFFSET (symfile_objfile->section_offsets, osect_idx); in frv_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.c680 struct section_offsets *new_offsets; in vmap_symtab()
698 (struct section_offsets *) in vmap_symtab()
702 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()

12