summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-07-29 11:05:05 -0400
committermidipix <writeonce@midipix.org>2018-07-29 11:05:05 -0400
commit19f61b15bc342124ce2a425c3d152cffdcc86bd4 (patch)
tree62e6590de772ccf22fd3d07b5f597eb7c3ddf2eb
parent8f11ee79949e0ee0ae347052aaa6f0ca476118c4 (diff)
downloadmdso-19f61b15bc342124ce2a425c3d152cffdcc86bd4.tar.bz2
mdso-19f61b15bc342124ce2a425c3d152cffdcc86bd4.tar.xz
helper api: renamed mdso_create_asm_source() -> mdso_create_asmsrc().
-rw-r--r--include/mdso/mdso.h2
-rw-r--r--src/helper/mdso_create_output.c2
-rw-r--r--src/util/mdso_create_implib_sources.c6
3 files changed, 5 insertions, 5 deletions
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);