Home
last modified time | relevance | path

Searched refs:obj_textsec (Results 1 – 13 of 13) sorted by relevance

/toolchain/binutils/binutils-2.27/bfd/
Daout-target.h45 obj_textsec (abfd)->size = N_TXTSIZE (execp); in MY()
48 obj_textsec (abfd)->vma = N_TXTADDR (execp); in MY()
56 && execp->a_entry > obj_textsec (abfd)->vma) in MY()
60 adjust = execp->a_entry - obj_textsec (abfd)->vma; in MY()
63 obj_textsec (abfd)->vma += adjust; in MY()
69 obj_textsec (abfd)->lma = obj_textsec (abfd)->vma; in MY()
74 obj_textsec (abfd)->filepos = N_TXTOFF (execp); in MY()
78 obj_textsec (abfd)->rel_filepos = N_TRELOFF (execp); in MY()
96 obj_textsec (abfd)->reloc_count = in MY()
109 if ((BFD_ALIGN (obj_textsec (abfd)->size, arch_align) in MY()
[all …]
Dpdp11.c302 if (obj_textsec (abfd)->reloc_count > 0 in pdp11_aout_write_headers()
334 if (obj_textsec (abfd)->reloc_count > 0 in pdp11_aout_write_headers()
338 || !NAME (aout, squirt_out_relocs) (abfd, obj_textsec (abfd)) in pdp11_aout_write_headers()
439 if (obj_textsec (abfd) == NULL && bfd_make_section (abfd, ".text") == NULL) in NAME()
536 obj_textsec (abfd)->flags = in NAME()
558 obj_textsec (abfd)->size = N_TXTSIZE (execp); in NAME()
562 obj_textsec (abfd)->vma = N_TXTADDR (execp); in NAME()
567 obj_textsec (abfd)->filepos = N_TXTOFF (execp); in NAME()
571 obj_textsec (abfd)->rel_filepos = N_TRELOFF (execp); in NAME()
615 || (execp->a_entry >= obj_textsec(abfd)->vma in NAME()
[all …]
Daoutx.h429 if (obj_textsec (abfd) == NULL && bfd_make_section (abfd, ".text") == NULL) in NAME()
543 obj_textsec (abfd)->flags = in NAME()
566 obj_textsec (abfd)->size = N_TXTSIZE (execp); in NAME()
570 obj_textsec (abfd)->vma = N_TXTADDR (execp); in NAME()
575 obj_textsec (abfd)->filepos = N_TXTOFF (execp); in NAME()
579 obj_textsec (abfd)->rel_filepos = N_TRELOFF (execp); in NAME()
628 || (execp->a_entry >= obj_textsec (abfd)->vma in NAME()
629 && execp->a_entry < (obj_textsec (abfd)->vma in NAME()
630 + obj_textsec (abfd)->size) in NAME()
689 obj_textsec (abfd) = NULL; in NAME()
[all …]
Daout-tic30.c342 obj_textsec (abfd)->size = N_TXTSIZE (execp); in tic30_aout_callback()
345 obj_textsec (abfd)->vma = N_TXTADDR (execp); in tic30_aout_callback()
349 obj_textsec (abfd)->lma = obj_textsec (abfd)->vma; in tic30_aout_callback()
354 obj_textsec (abfd)->filepos = N_TXTOFF (execp); in tic30_aout_callback()
358 obj_textsec (abfd)->rel_filepos = N_TRELOFF (execp); in tic30_aout_callback()
380 if ((BFD_ALIGN (obj_textsec (abfd)->size, arch_align) in tic30_aout_callback()
381 == obj_textsec (abfd)->size) in tic30_aout_callback()
387 obj_textsec (abfd)->alignment_power = arch_align_power; in tic30_aout_callback()
645 execp->a_trsize = ((obj_textsec (abfd)->reloc_count) * obj_reloc_entry_size (abfd)); in tic30_aout_write_object_contents()
673 if (!NAME (aout, squirt_out_relocs) (abfd, obj_textsec (abfd))) in tic30_aout_write_object_contents()
[all …]
Dhp300hpux.c227 obj_textsec (abfd)->size = N_TXTSIZE (execp); in MY()
230 obj_textsec (abfd)->vma = N_TXTADDR (execp); in MY()
234 obj_textsec (abfd)->lma = obj_textsec (abfd)->vma; in MY()
239 obj_textsec (abfd)->filepos = N_TXTOFF (execp); in MY()
243 obj_textsec (abfd)->rel_filepos = N_TRELOFF (execp); in MY()
260 obj_textsec (abfd)->rel_filepos = N_GNU_TRELOFF (execp); in MY()
294 execp->a_trsize = ((obj_textsec (abfd)->reloc_count) * in MY()
332 if (!NAME (aout,squirt_out_relocs) (abfd, obj_textsec (abfd))) in MY()
728 if (asect == obj_textsec (abfd)) in MY()
Dbout.c144 obj_textsec (abfd)->alignment_power = execp->a_talign; in b_out_callback()
149 obj_textsec (abfd)->vma = execp->a_tload; in b_out_callback()
152 obj_textsec (abfd)->lma = obj_textsec (abfd)->vma; in b_out_callback()
156 obj_textsec (abfd)->size = execp->a_text; in b_out_callback()
164 obj_textsec (abfd)->filepos = N_TXTOFF (execp); in b_out_callback()
168 obj_textsec (abfd)->rel_filepos = N_TROFF (execp); in b_out_callback()
225 obj_textsec (abfd) = NULL; in b_out_mkobject()
403 exec_hdr (abfd)->a_text = obj_textsec (abfd)->size; in b_out_write_object_contents()
408 exec_hdr (abfd)->a_trsize = (obj_textsec (abfd)->reloc_count) * 8; in b_out_write_object_contents()
411 exec_hdr (abfd)->a_talign = obj_textsec (abfd)->alignment_power; in b_out_write_object_contents()
[all …]
Di386os9k.c87 obj_textsec (abfd)->alignment_power = execp->a_talign; in os9k_callback()
92 obj_textsec (abfd)->vma = execp->a_tload; in os9k_callback()
96 obj_textsec (abfd)->size = execp->a_text; in os9k_callback()
102 obj_textsec (abfd)->filepos = execp->a_entry; in os9k_callback()
Dlibaout.h434 #define obj_textsec(bfd) (adata (bfd).textsec) macro
633 execp->a_trsize = ((obj_textsec (abfd)->reloc_count) * \
657 if (!NAME (aout, squirt_out_relocs) (abfd, obj_textsec (abfd))) \
679 && obj_textsec (abfd) != NULL \
681 && (sec)->vma >= (obj_textsec (abfd)->vma + \
682 obj_textsec (abfd)->size) \
Driscix.c119 execp->a_trsize = ((obj_textsec (abfd)->reloc_count) * \
143 if (! riscix_squirt_out_relocs (abfd, obj_textsec (abfd))) \
570 obj_textsec (abfd)->flags = in riscix_some_aout_object_p()
608 if ((execp->a_entry >= obj_textsec(abfd)->vma) && in riscix_some_aout_object_p()
609 (execp->a_entry < obj_textsec(abfd)->vma + obj_textsec(abfd)->size)) in riscix_some_aout_object_p()
Di386lynx.c45 execp->a_trsize = ((obj_textsec (abfd)->reloc_count) * \
69 if (!NAME(lynx,squirt_out_relocs) (abfd, obj_textsec (abfd))) \
296 cache_ptr->sym_ptr_ptr = obj_textsec(abfd)->symbol_ptr_ptr; \
393 if (asect == obj_textsec (abfd)) in NAME()
Dsunos.c167 dynsec = obj_textsec (abfd); in sunos_read_dynamic_info()
1899 if (! sunos_scan_relocs (info, sub, obj_textsec (sub), in bfd_sunos_size_dynamic_sections()
2259 if (output_section == obj_textsec (output_bfd)) in sunos_write_dynamic_symbol()
2832 BFD_ALIGN (obj_textsec (abfd)->size, 0x2000), in sunos_finish_dynamic_link()
DChangeLog-91936458 and move calculation of obj_textsec(abfd)->size to libaout.h.
DChangeLog-94957534 (NAME(aout,final_link)): Don't dereference obj_textsec (abfd) or