Home | History | Annotate | Download | only in bfd

Lines Matching full:execp

34 			  struct internal_exec *execp)
39 /* Now fill in fields in the execp, from the bytes in the raw data. */
40 execp->a_info = H_GET_16 (abfd, bytes->m_sync);
41 execp->a_syms = 0;
42 execp->a_entry = H_GET_32 (abfd, bytes->m_exec);
43 execp->a_talign = 2;
44 execp->a_dalign = 2;
45 execp->a_balign = 2;
48 execp->a_data = dload + 8;
57 execp->a_tload = 0;
58 execp->a_dload = H_GET_32 (abfd, (unsigned char *) &dmemstart);
59 execp->a_text = dload - execp->a_tload;
60 execp->a_data = H_GET_32 (abfd, (unsigned char *) &dmemsize);
61 execp->a_bss = H_GET_32 (abfd, bytes->m_data) - execp->a_data;
63 execp->a_trsize = 0;
64 execp->a_drsize = 0;
76 struct internal_exec *execp = exec_hdr (abfd);
87 obj_textsec (abfd)->alignment_power = execp->a_talign;
88 obj_datasec (abfd)->alignment_power = execp->a_dalign;
89 obj_bsssec (abfd)->alignment_power = execp->a_balign;
92 obj_textsec (abfd)->vma = execp->a_tload;
93 obj_datasec (abfd)->vma = execp->a_dload;
96 obj_textsec (abfd)->size = execp->a_text;
98 bss_start = execp->a_dload + execp->a_data; /* BSS = end of data section. */
99 obj_bsssec (abfd)->vma = align_power (bss_start, execp->a_balign);
102 obj_textsec (abfd)->filepos = execp->a_entry;
103 obj_datasec (abfd)->filepos = execp->a_dload;
106 obj_textsec (abfd)->rel_filepos = N_TROFF(*execp);
107 obj_datasec (abfd)->rel_filepos = N_DROFF(*execp); */