diff options
Diffstat (limited to 'src/object')
-rw-r--r-- | src/object/mdso_objgen_dsometa.c | 6 | ||||
-rw-r--r-- | src/object/mdso_objgen_symentry.c | 6 | ||||
-rw-r--r-- | src/object/mdso_objgen_symfn.c | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/src/object/mdso_objgen_dsometa.c b/src/object/mdso_objgen_dsometa.c index 2572f12..61df843 100644 --- a/src/object/mdso_objgen_dsometa.c +++ b/src/object/mdso_objgen_dsometa.c @@ -38,7 +38,7 @@ int mdso_objgen_dsometa( struct mdso_dsometa_object * dsometa; struct pe_raw_coff_symbol * symrec; unsigned char * mark; - struct pe_aux_rec_section * aux; + struct pe_raw_aux_rec_section * aux; size_t buflen; uint32_t liblen; uint32_t cstlen; @@ -173,7 +173,7 @@ int mdso_objgen_dsometa( mdso_obj_write_short(symrec[0].cs_section_number,1); memcpy(symrec[0].cs_name,".dsostrs",8); - aux = (struct pe_aux_rec_section *)&symrec[1]; + aux = (struct pe_raw_aux_rec_section *)&symrec[1]; mdso_obj_write_long(aux->aux_size,liblen+1); mdso_obj_write_short(aux->aux_num_of_relocs,0); @@ -188,7 +188,7 @@ int mdso_objgen_dsometa( mdso_obj_write_short(symrec[0].cs_section_number,2); memcpy(symrec[0].cs_name,".dsometa",8); - aux = (struct pe_aux_rec_section *)&symrec[1]; + aux = (struct pe_raw_aux_rec_section *)&symrec[1]; mdso_obj_write_long(aux->aux_size,reclen); mdso_obj_write_short(aux->aux_num_of_relocs,1); diff --git a/src/object/mdso_objgen_symentry.c b/src/object/mdso_objgen_symentry.c index 62e2ff2..3a3503f 100644 --- a/src/object/mdso_objgen_symentry.c +++ b/src/object/mdso_objgen_symentry.c @@ -38,7 +38,7 @@ int mdso_objgen_symentry( struct mdso_symentry_object * syment; struct pe_raw_coff_symbol * symrec; unsigned char * mark; - struct pe_aux_rec_section * aux; + struct pe_raw_aux_rec_section * aux; size_t buflen; size_t liblen; uint32_t symlen; @@ -175,7 +175,7 @@ int mdso_objgen_symentry( mdso_obj_write_short(symrec[0].cs_section_number,1); memcpy(symrec[0].cs_name,".dsostrs",8); - aux = (struct pe_aux_rec_section *)&symrec[1]; + aux = (struct pe_raw_aux_rec_section *)&symrec[1]; mdso_obj_write_long(aux->aux_size,symlen+1); mdso_obj_write_short(aux->aux_num_of_relocs,0); @@ -190,7 +190,7 @@ int mdso_objgen_symentry( mdso_obj_write_short(symrec[0].cs_section_number,2); memcpy(symrec[0].cs_name,".dsosyms",8); - aux = (struct pe_aux_rec_section *)&symrec[1]; + aux = (struct pe_raw_aux_rec_section *)&symrec[1]; mdso_obj_write_long(aux->aux_size,2*relrva); mdso_obj_write_short(aux->aux_num_of_relocs,2); diff --git a/src/object/mdso_objgen_symfn.c b/src/object/mdso_objgen_symfn.c index b42e0b3..3bdd98f 100644 --- a/src/object/mdso_objgen_symfn.c +++ b/src/object/mdso_objgen_symfn.c @@ -53,7 +53,7 @@ int mdso_objgen_symfn( struct pe_raw_coff_symbol * symrec; const unsigned char * code; unsigned char * mark; - struct pe_aux_rec_section * aux; + struct pe_raw_aux_rec_section * aux; size_t buflen; uint32_t symlen; uint32_t cstlen; @@ -170,7 +170,7 @@ int mdso_objgen_symfn( mdso_obj_write_short(symrec[0].cs_section_number,1); memcpy(symrec[0].cs_name,".text",5); - aux = (struct pe_aux_rec_section *)&symrec[1]; + aux = (struct pe_raw_aux_rec_section *)&symrec[1]; mdso_obj_write_long(aux->aux_size,relrva+4); mdso_obj_write_short(aux->aux_num_of_relocs,1); |