diff --git a/include/mdso/mdso.h b/include/mdso/mdso.h index ee3868f..dc88370 100644 --- a/include/mdso/mdso.h +++ b/include/mdso/mdso.h @@ -144,7 +144,7 @@ mdso_api int mdso_unmap_input (struct mdso_input *); /* helper api */ mdso_api FILE*mdso_create_archive (const struct mdso_driver_ctx *, const char * arname); -mdso_api FILE*mdso_create_asm_source (const struct mdso_driver_ctx *, const char * asmname); +mdso_api FILE*mdso_create_asmsrc (const struct mdso_driver_ctx *, const char * asmname); mdso_api FILE*mdso_create_object (const struct mdso_driver_ctx *, const char * objname); /* utility api */ diff --git a/src/helper/mdso_create_output.c b/src/helper/mdso_create_output.c index 5f4a761..b0dc0fc 100644 --- a/src/helper/mdso_create_output.c +++ b/src/helper/mdso_create_output.c @@ -52,7 +52,7 @@ FILE * mdso_create_archive( return mdso_create_output(dctx,arname,AT_FDCWD); } -FILE * mdso_create_asm_source( +FILE * mdso_create_asmsrc( const struct mdso_driver_ctx * dctx, const char * asmname) { diff --git a/src/util/mdso_create_implib_sources.c b/src/util/mdso_create_implib_sources.c index bd9b401..5c320eb 100644 --- a/src/util/mdso_create_implib_sources.c +++ b/src/util/mdso_create_implib_sources.c @@ -42,7 +42,7 @@ mdso_api int mdso_create_implib_sources(const struct mdso_driver_ctx * dctx) for (sym=uctx->syms; *sym; sym++) { mdso_init_asmname(asmname,".%s_symentry.s",*sym); - if (!(fout = mdso_create_asm_source(dctx,asmname))) + if (!(fout = mdso_create_asmsrc(dctx,asmname))) return MDSO_NESTED_ERROR(dctx); ret = mdso_asmgen_symentry(dctx,*sym,fout); @@ -56,7 +56,7 @@ mdso_api int mdso_create_implib_sources(const struct mdso_driver_ctx * dctx) if (uctx->stype[sym-uctx->syms] == MDSO_SYMBOL_TYPE_CODE) { mdso_init_asmname(asmname,".%s_symfn.s",*sym); - if (!(fout = mdso_create_asm_source(dctx,asmname))) + if (!(fout = mdso_create_asmsrc(dctx,asmname))) return MDSO_NESTED_ERROR(dctx); ret = mdso_asmgen_symfn(dctx,*sym,fout); @@ -75,7 +75,7 @@ mdso_api int mdso_create_implib_sources(const struct mdso_driver_ctx * dctx) /* dsometa */ mdso_init_asmname(asmname,".dsometa_%s.s",dctx->cctx->libname); - if (!(fout = mdso_create_asm_source(dctx,asmname))) + if (!(fout = mdso_create_asmsrc(dctx,asmname))) return MDSO_NESTED_ERROR(dctx); ret = mdso_asmgen_dsometa(dctx,fout);