Home
last modified time | relevance | path

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

/toolchain/binutils/binutils-2.25/bfd/
Dpdp11.c304 if (obj_textsec (abfd)->reloc_count > 0 in pdp11_aout_write_headers()
336 if (obj_textsec (abfd)->reloc_count > 0 in pdp11_aout_write_headers()
340 || !NAME (aout, squirt_out_relocs) (abfd, obj_textsec (abfd)) in pdp11_aout_write_headers()
446 if (obj_textsec (abfd) == NULL && bfd_make_section (abfd, ".text") == NULL) in NAME()
543 obj_textsec (abfd)->flags = in NAME()
565 obj_textsec (abfd)->size = N_TXTSIZE(*execp); in NAME()
569 obj_textsec (abfd)->vma = N_TXTADDR(*execp); in NAME()
574 obj_textsec (abfd)->filepos = N_TXTOFF(*execp); in NAME()
578 obj_textsec (abfd)->rel_filepos = N_TRELOFF(*execp); in NAME()
622 || (execp->a_entry >= obj_textsec(abfd)->vma in NAME()
[all …]
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 …]
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()
648 execp->a_trsize = ((obj_textsec (abfd)->reloc_count) * obj_reloc_entry_size (abfd)); in tic30_aout_write_object_contents()
676 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()
296 execp->a_trsize = ((obj_textsec (abfd)->reloc_count) * in MY()
334 if (!NAME (aout,squirt_out_relocs) (abfd, obj_textsec (abfd))) in MY()
730 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
636 execp->a_trsize = ((obj_textsec (abfd)->reloc_count) * \
660 if (!NAME (aout, squirt_out_relocs) (abfd, obj_textsec (abfd))) \
682 && obj_textsec (abfd) != NULL \
684 && (sec)->vma >= (obj_textsec (abfd)->vma + \
685 obj_textsec (abfd)->size) \
Driscix.c122 execp->a_trsize = ((obj_textsec (abfd)->reloc_count) * \
146 if (! riscix_squirt_out_relocs (abfd, obj_textsec (abfd))) \
573 obj_textsec (abfd)->flags = in riscix_some_aout_object_p()
611 if ((execp->a_entry >= obj_textsec(abfd)->vma) && in riscix_some_aout_object_p()
612 (execp->a_entry < obj_textsec(abfd)->vma + obj_textsec(abfd)->size)) in riscix_some_aout_object_p()
Di386lynx.c47 execp->a_trsize = ((obj_textsec (abfd)->reloc_count) * \
71 if (!NAME(lynx,squirt_out_relocs) (abfd, obj_textsec (abfd))) \
298 cache_ptr->sym_ptr_ptr = obj_textsec(abfd)->symbol_ptr_ptr; \
395 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