diff options
-rw-r--r-- | src/logic/mdso_asmgen_symfn.c | 2 | ||||
-rw-r--r-- | src/logic/mdso_create_implib_sources.c | 2 | ||||
-rw-r--r-- | src/object/mdso_objgen_symfn.c | 10 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/logic/mdso_asmgen_symfn.c b/src/logic/mdso_asmgen_symfn.c index a3960b3..e9484af 100644 --- a/src/logic/mdso_asmgen_symfn.c +++ b/src/logic/mdso_asmgen_symfn.c @@ -28,7 +28,7 @@ int mdso_asmgen_symfn( const char * const * line; const char * uscore; - if (fprintf(fout,"\t.file \"__%s_sym_fn.s\"\n",sym) < 0) + if (fprintf(fout,"\t.file \".%s_symfn.s\"\n",sym) < 0) return MDSO_FILE_ERROR(dctx); uscore = (dctx->cctx->drvflags & MDSO_DRIVER_QUAD_PTR) diff --git a/src/logic/mdso_create_implib_sources.c b/src/logic/mdso_create_implib_sources.c index 864d2f5..1de33e3 100644 --- a/src/logic/mdso_create_implib_sources.c +++ b/src/logic/mdso_create_implib_sources.c @@ -64,7 +64,7 @@ mdso_api int mdso_create_implib_sources(const struct mdso_driver_ctx * dctx) if (ret < 0) return MDSO_NESTED_ERROR(dctx); - mdso_init_asmname(asmname,"__%s_sym_fn.s",*sym); + mdso_init_asmname(asmname,".%s_symfn.s",*sym); if (!(fout = mdso_create_asm_source(dctx,asmname))) return MDSO_NESTED_ERROR(dctx); diff --git a/src/object/mdso_objgen_symfn.c b/src/object/mdso_objgen_symfn.c index 774d027..b42e0b3 100644 --- a/src/object/mdso_objgen_symfn.c +++ b/src/object/mdso_objgen_symfn.c @@ -155,12 +155,12 @@ int mdso_objgen_symfn( mdso_obj_write_long(&symrec[1].cs_name[4],cstoff+datoff); memcpy(symrec[0].cs_name,".file",5); - memcpy(&mark[0],"__",2); - memcpy(&mark[2],sym,symlen); - memcpy(&mark[2+symlen],"_sym_fn.s",9); + memcpy(&mark[0],".",1); + memcpy(&mark[1],sym,symlen); + memcpy(&mark[1+symlen],"_symfn.s",8); - datoff += 12 + symlen; - mark += 12 + symlen; + datoff += 10 + symlen; + mark += 10 + symlen; symrec += 2; /* coff symbol: .text */ |