Searched refs:section (Results 26 - 50 of 311) sorted by relevance

1234567891011>>

/haiku-fatelf/src/bin/gdb/bfd/
H A Delf32-dlx.c283 if (bfd_is_und_section (symbol->section)
296 printf ("DEBUG: The vma = 0x%08x\n", symbol->section->output_section->vma);
297 printf ("DEBUG: The output_offset = 0x%08x\n", symbol->section->output_offset);
304 relocation = (bfd_is_com_section (symbol->section)) ? 0 : symbol->value;
305 relocation += symbol->section->output_section->vma;
306 relocation += symbol->section->output_offset;
356 /* Check undefined section and undefined symbols */
357 if (bfd_is_und_section (symbol->section)
362 if (strcmp (input_section->name, symbol->section->output_section->name) != 0)
365 "BFD Link Error: branch (PC rel16) to section (
[all...]
H A Decoff.c170 /* Initialize a new section. */
173 _bfd_ecoff_new_section_hook (abfd, section)
175 asection *section;
177 section->alignment_power = 4;
179 if (strcmp (section->name, _TEXT) == 0
180 || strcmp (section->name, _INIT) == 0
181 || strcmp (section->name, _FINI) == 0)
182 section->flags |= SEC_CODE | SEC_LOAD | SEC_ALLOC;
183 else if (strcmp (section->name, _DATA) == 0
184 || strcmp (section
2535 struct internal_scnhdr section; local
3875 asection *section; local
4617 asection *section; local
[all...]
H A Doasys.c91 /* Read in all the section data and relocation stuff too. */
124 till we get to the first section record.
192 dest->section = bfd_abs_section_ptr;
198 dest->section =
204 if (dest->section == (asection *) (~0))
208 section */
209 dest->section = 0;
220 dest->section = bfd_und_section_ptr;
227 dest->section = bfd_com_section_ptr;
459 /* Inspect the records, but only keep the section inf
652 asection *section = local
[all...]
H A Dsyms.c120 | new->section = bfd_make_section_old_way (abfd, ".text");
138 arbitrary number of sections. A symbol pointing to a section
191 . This field is *almost* redundant, since you can use section->owner
210 . is the offset into the section of the data. *}
214 . value is the offset into the section of the data. *}
218 . the offset into the section of the data. *}
241 . {* This symbol was created to point to a section, e.g. ELF's
255 . declared and not at the end of a section. This bit is set
259 . {* Signal that the symbol is the label of constructor section. *}
284 . into the section o
544 const char *section; member in struct:section_to_type
601 decode_section_type(const struct bfd_section *section) argument
899 _bfd_stab_section_find_nearest_line(bfd *abfd, asymbol **symbols, asection *section, bfd_vma offset, bfd_boolean *pfound, const char **pfilename, const char **pfnname, unsigned int *pline, void **pinfo) argument
[all...]
H A Di386lynx.c142 asection *output_section = sym->section->output_section;
153 r_addend = g->addend + (*(g->sym_ptr_ptr))->section->output_section->vma;
161 from the abs section, or as a symbol which has an abs value.
173 from the abs section */
186 /* Just an ordinary section */
235 asection *output_section = sym->section->output_section;
241 r_addend = g->addend + (*(g->sym_ptr_ptr))->section->output_section->vma;
248 from the abs section, or as a symbol which has an abs value.
259 from the abs section */
271 /* Just an ordinary section */
[all...]
H A Dtekhex.c33 the example I have says that the text section is 0..ffffffff.
38 has no tag saying which section it belongs to, so we create
39 one section for each block of data, called "blknnnn" which we
159 | +-- type 1 symbol (section definition)
223 Disassembly of section D00000000:
392 asection *section = bfd_abs_section_ptr; local
415 section = bfd_get_section_by_name (abfd, sym);
416 if (section == (asection *) NULL)
423 section = bfd_make_section (abfd, n);
429 case '1': /* section rang
[all...]
H A Delf32-m68hc1x.c38 asection *section,
151 m68hc12_add_stub (const char *stub_name, asection *section, argument
162 section->owner, stub_name);
215 for each output section included in the link. Returns -1 on error,
224 asection *section; local
235 /* Count the number of input BFDs and find the top input section id.
236 Also search for an existing ".tramp" section so that we know
246 for (section = input_bfd->sections;
247 section != NULL;
248 section
314 asection *section; local
[all...]
H A Dpef.c106 fprintf (file, " %-5s %s", symbol->section->name, symbol->name);
114 bfd_get_section_contents (abfd, symbol->section, buf, offset, len);
115 ret = bfd_pef_parse_traceback_table (abfd, symbol->section, buf,
149 bfd_pef_parse_traceback_table (abfd, section, buf, len, pos, sym, file)
151 asection *section;
169 sym->section = section;
283 static const char *bfd_pef_section_name (section)
284 bfd_pef_section *section;
286 switch (section
511 asection *section; local
[all...]
H A Driscix.c222 if (symbol->section == &bfd_und_section
228 if (symbol->section->name != input_section->name
235 relocation += symbol->section->output_section->vma;
236 relocation += symbol->section->output_offset;
314 asection *output_section = sym->section->output_section;
336 r_addend = g->addend + (*(g->sym_ptr_ptr))->section->output_section->vma;
345 from the abs section, or as a symbol which has an abs value.
356 from the abs section */
369 /* Just an ordinary section */
400 riscix_squirt_out_relocs (abfd, section)
[all...]
H A Dreloc16.c51 /* A symbol holds a pointer to a section, and an offset from the
52 base of the section. To relocate, we find where the section will
55 if (bfd_is_und_section (symbol->section)
56 || bfd_is_com_section (symbol->section))
72 + h->u.def.section->output_section->vma
73 + h->u.def.section->output_offset);
90 + symbol->section->output_offset
91 + symbol->section->output_section->vma;
117 if (p->section
[all...]
H A Dvms.c53 PARAMS ((bfd *abfd, asection *section));
55 PARAMS ((bfd *abfd, asection *section, PTR x1, file_ptr x2,
58 PARAMS ((bfd *abfd, asection *section, bfd_window *w, file_ptr offset,
109 PARAMS ((bfd *abfd, asection *section, asymbol **symbols, bfd_vma offset,
128 PARAMS ((bfd *abfd, asection *section, const PTR location, file_ptr offset,
137 PARAMS ((bfd *abfd, asection *section, struct bfd_link_info *link_info,
152 PARAMS ((bfd *abfd, asection *section));
344 /* Fill symbol->section with section ptr
345 symbol->section i
[all...]
H A Dcoff-h8500.c145 #define RELOC_PROCESSING(relent,reloc,symbols,abfd,section) \
146 reloc_processing(relent, reloc, symbols, abfd, section)
148 static void reloc_processing (relent, reloc, symbols, abfd, section)
153 asection * section;
164 relent->address -= section->vma;
178 asection *input_section = link_order->u.indirect.section;
251 + link_order->u.indirect.section->output_section->vma;
274 + link_order->u.indirect.section->output_section->vma;
H A Dlinker.c61 routines are used as examples throughout this section.
193 add, notably symbol flags, a section, and an offset. The
195 <<BSF_INDIRECT>>. The section is a section in the object
294 @* Relocating the section contents::
299 Information provided by the linker, Relocating the section contents, Performing the Final Link, Performing the Final Link
311 Each section in the output file will have a list of
315 contents of the output section in terms of the contents of
323 Relocating the section contents, Writing the symbol table, Information provided by the linker, Performing the Final Link
325 Relocating the section content
1478 _bfd_generic_link_add_one_symbol(struct bfd_link_info *info, bfd *abfd, const char *name, flagword flags, asection *section, bfd_vma value, const char *string, bfd_boolean copy, bfd_boolean collect, struct bfd_link_hash_entry **hashp) argument
2562 bfd_new_link_order(bfd *abfd, asection *section) argument
[all...]
H A Dcoff-tic30.c143 #define RELOC_PROCESSING(relent,reloc,symbols,abfd,section) \
144 reloc_processing(relent, reloc, symbols, abfd, section)
147 reloc_processing (relent, reloc, symbols, abfd, section)
152 asection *section;
163 relent->address -= section->vma;
179 (SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD | SEC_RELOC), /* section flags */
H A Dversados.c80 /* one for each section */
83 asection *section; /* ptr to bfd version */ member in struct:esdid
106 struct esdid e[16]; /* per section info */
210 n->section = sec;
284 /* Declare this section */
288 EDATA (abfd, scn).section = sec;
457 EDATA (abfd, otr->esdid - 1).section->relocation + rn;
473 if (dst_idx < esdid->section->size)
488 bfd_size_type size = esdid->section->size;
543 if (esdid->section)
[all...]
/haiku-fatelf/src/bin/gdb/gdb/
H A Dcorelow.c352 /* Find the data section */
396 /* Add symbols and section mappings for any shared libraries. */
427 /* Try to retrieve registers from a section in core_bfd, and supply
432 section named NAME. If inferior_ptid is non-zero, do the
433 multi-threaded thing: look for a section named "NAME/PID", where
437 NAME section contains, for use in error messages.
440 have a section by the appropriate name. Otherwise, just do nothing. */
449 struct bfd_section *section; local
458 section = bfd_get_section_by_name (core_bfd, section_name);
459 if (! section)
554 struct bfd_section *section; local
586 struct bfd_section *section; local
[all...]
H A Dnlmread.c122 /* Bfd symbols are section relative. */
123 symaddr = sym->value + sym->section->vma;
125 if (sym->section != &bfd_abs_section)
128 /* For non-absolute symbols, use the type of the section
131 if (sym->section->flags & SEC_CODE)
133 else if (sym->section->flags & SEC_DATA)
152 in each section. We simplify it down to a single offset for all
H A Dminsyms.c375 lookup_minimal_symbol_by_pc_section (CORE_ADDR pc, asection *section) argument
385 /* PC has to be in a known section. This ensures that anything
393 trying to force the PC into a valid section as returned by
396 find_pc_section wasn't returning an absolute section and hence
481 /* If "section" specified, skip any symbol from wrong section */
483 if (section)
489 && SYMBOL_BFD_SECTION (&msymbol[hi]) != section)
506 for a matching PC (no section given) */
512 force the section bu
514 struct obj_section *section = find_pc_section (pc); local
553 int section; local
582 prim_record_minimal_symbol_and_info(const char *name, CORE_ADDR address, enum minimal_symbol_type ms_type, char *info, int section, asection *bfd_section, struct objfile *objfile) argument
[all...]
/haiku-fatelf/src/tools/elfsymbolpatcher/
H A DElfFile.h46 ElfSymbol(ElfSection* section = NULL,
50 void SetTo(ElfSection* section, int32 index);
68 ElfRelocation(ElfSection* section = NULL,
72 void SetTo(ElfSection* section, int32 index);
/haiku-fatelf/src/apps/debugger/elf/
H A DElfFile.cpp120 while (ElfSection* section = fSections.RemoveHead())
121 delete section;
162 ElfSection* section = FindSection(name); local
163 if (section != NULL && section->Load() == B_OK)
164 return section;
171 ElfFile::PutSection(ElfSection* section) argument
173 if (section != NULL)
174 section->Unload();
182 ElfSection* section
291 ElfSection* section = new(std::nothrow) ElfSection(name, fFD, local
[all...]
/haiku-fatelf/src/bin/gdb/include/
H A Dbfdlink.h122 asection *section; /* Symbol section. */
137 symbols: the size, the alignment, and the section in
140 section and the alignment. The alignment is stored as a
148 asection *section; /* Symbol section. */
282 /* TRUE if non-PLT relocs should be merged into one reloc section
286 /* TRUE if .eh_frame_hdr section and PT_GNU_EH_FRAME ELF segment
365 /* If a symbol should be created for each input BFD, this is section
366 where those symbols should be placed. It must be a section i
121 asection *section; /* Symbol section. */ member in struct:bfd_link_hash_entry::__anon3899::__anon3901
147 asection *section; /* Symbol section. */ member in struct:bfd_link_hash_entry::__anon3899::__anon3903::bfd_link_hash_common_entry
560 asection *section; member in struct:bfd_link_order::__anon3904::__anon3905
604 asection *section; member in union:bfd_link_order_reloc::__anon3908
[all...]
/haiku-fatelf/src/system/libroot/posix/glibc/arch/x86_64/
H A Ds_copysignf.S24 .section .rodata
/haiku-fatelf/headers/private/package/hpkg/
H A DReaderImplBase.h54 BHPKGPackageSectionID section; member in struct:BPackageKit::BHPKG::BPrivate::ReaderImplBase::AttributeHandlerContext
58 BHPKGPackageSectionID section);
62 BHPKGPackageSectionID section);
199 const SectionInfo& section) const;
218 const SectionInfo& section);
227 inline void SetCurrentSection(SectionInfo* section);
285 ReaderImplBase::SetCurrentSection(SectionInfo* section) argument
287 fCurrentSection = section;
/haiku-fatelf/src/kits/print/
H A DBeUtils.cpp58 status_t TestForAddonExistence(const char* name, directory_which which, const char* section, BPath& outPath) argument
63 (err=outPath.Append(section)) == B_OK &&
/haiku-fatelf/src/bin/network/wget/src/
H A Dmswindows.c20 Additional permission under GNU GPL version 3 section 7
111 /* Construct the name for a named section (a.k.a. `file mapping') object.
137 HANDLE section, event;
142 section = OpenFileMapping (FILE_MAP_WRITE, FALSE, name);
145 OpenFileMapping() fails; so we assume it failed because the section
147 if (!section)
150 info = MapViewOfFile (section, FILE_MAP_WRITE, 0, 0, 0);
153 CloseHandle (section);
174 CloseHandle (section);
188 essentially identical. We create a specially named section objec
136 HANDLE section, event; local
197 HANDLE section, event, h[2]; local
[all...]

Completed in 307 milliseconds

1234567891011>>