summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-02-04 11:50:08 -0500
committermidipix <writeonce@midipix.org>2017-02-04 11:50:08 -0500
commit2c190da52dbfe58d46c8e4d4dcc924fb444e0334 (patch)
tree38e7880037f2ec5ab89137647f9cf0128f833318
parent78ab3c85dada5e34f6697e782a793e42c70e8d1a (diff)
downloadmdso-2c190da52dbfe58d46c8e4d4dcc924fb444e0334.tar.bz2
mdso-2c190da52dbfe58d46c8e4d4dcc924fb444e0334.tar.xz
logic: replaced interface: prefix mdso_generate --> mdso_asmgen.
-rw-r--r--include/mdso/mdso.h6
-rw-r--r--project/common.mk6
-rw-r--r--src/logic/mdso_asmgen_dsometa.c (renamed from src/logic/mdso_generate_dsometa.c)2
-rw-r--r--src/logic/mdso_asmgen_symentry.c (renamed from src/logic/mdso_generate_symentry.c)2
-rw-r--r--src/logic/mdso_asmgen_symfn.c (renamed from src/logic/mdso_generate_symfn.c)2
-rw-r--r--src/logic/mdso_create_implib_sources.c6
6 files changed, 12 insertions, 12 deletions
diff --git a/include/mdso/mdso.h b/include/mdso/mdso.h
index d8c5057..c60979a 100644
--- a/include/mdso/mdso.h
+++ b/include/mdso/mdso.h
@@ -133,9 +133,9 @@ mdso_api int mdso_output_error_vector (const struct mdso_driver_ctx *);
/* low-level api */
mdso_api uint32_t mdso_crc32_mbstr (const unsigned char * str, size_t * symlen);
mdso_api uint64_t mdso_crc64_mbstr (const unsigned char * str, size_t * symlen);
-mdso_api int mdso_generate_dsometa (const struct mdso_driver_ctx *, FILE * fout);
-mdso_api int mdso_generate_symentry(const struct mdso_driver_ctx *, const char * sym, FILE * fout);
-mdso_api int mdso_generate_symfn (const struct mdso_driver_ctx *, const char * sym, FILE * fout);
+mdso_api int mdso_asmgen_dsometa (const struct mdso_driver_ctx *, FILE * fout);
+mdso_api int mdso_asmgen_symentry (const struct mdso_driver_ctx *, const char * sym, FILE * fout);
+mdso_api int mdso_asmgen_symfn (const struct mdso_driver_ctx *, const char * sym, FILE * fout);
#ifdef __cplusplus
}
diff --git a/project/common.mk b/project/common.mk
index 70c7778..26c2c7a 100644
--- a/project/common.mk
+++ b/project/common.mk
@@ -6,9 +6,9 @@ API_SRCS = \
src/driver/mdso_unit_ctx.c \
src/helper/mdso_create_asm_source.c \
src/logic/mdso_create_implib_sources.c \
- src/logic/mdso_generate_dsometa.c \
- src/logic/mdso_generate_symentry.c \
- src/logic/mdso_generate_symfn.c \
+ src/logic/mdso_asmgen_dsometa.c \
+ src/logic/mdso_asmgen_symentry.c \
+ src/logic/mdso_asmgen_symfn.c \
src/logic/mdso_map_input.c \
src/output/mdso_output_error.c \
src/output/mdso_output_export_symbols.c \
diff --git a/src/logic/mdso_generate_dsometa.c b/src/logic/mdso_asmgen_dsometa.c
index 50e9eb0..6cf9186 100644
--- a/src/logic/mdso_generate_dsometa.c
+++ b/src/logic/mdso_asmgen_dsometa.c
@@ -38,7 +38,7 @@ static const char * const asm_libname_fmt =
"._name:\n"
"\t.ascii\t\"%s\\0\"\n\n";
-int mdso_generate_dsometa(
+int mdso_asmgen_dsometa(
const struct mdso_driver_ctx * dctx,
FILE * fout)
{
diff --git a/src/logic/mdso_generate_symentry.c b/src/logic/mdso_asmgen_symentry.c
index 8aa48c7..7db988a 100644
--- a/src/logic/mdso_generate_symentry.c
+++ b/src/logic/mdso_asmgen_symentry.c
@@ -19,7 +19,7 @@ static const char * const asm_lines[] = {
0
};
-int mdso_generate_symentry(
+int mdso_asmgen_symentry(
const struct mdso_driver_ctx * dctx,
const char * sym,
FILE * fout)
diff --git a/src/logic/mdso_generate_symfn.c b/src/logic/mdso_asmgen_symfn.c
index 2e937d1..a3960b3 100644
--- a/src/logic/mdso_generate_symfn.c
+++ b/src/logic/mdso_asmgen_symfn.c
@@ -20,7 +20,7 @@ static const char * const asm_lines[] = {
0
};
-int mdso_generate_symfn(
+int mdso_asmgen_symfn(
const struct mdso_driver_ctx * dctx,
const char * sym,
FILE * fout)
diff --git a/src/logic/mdso_create_implib_sources.c b/src/logic/mdso_create_implib_sources.c
index e0ba209..864d2f5 100644
--- a/src/logic/mdso_create_implib_sources.c
+++ b/src/logic/mdso_create_implib_sources.c
@@ -38,7 +38,7 @@ mdso_api int mdso_create_implib_sources(const struct mdso_driver_ctx * dctx)
if (!(fout = mdso_create_asm_source(dctx,asmname)))
return MDSO_NESTED_ERROR(dctx);
- ret = mdso_generate_dsometa(dctx,fout);
+ ret = mdso_asmgen_dsometa(dctx,fout);
if (fout != stdout)
fclose(fout);
@@ -56,7 +56,7 @@ mdso_api int mdso_create_implib_sources(const struct mdso_driver_ctx * dctx)
if (!(fout = mdso_create_asm_source(dctx,asmname)))
return MDSO_NESTED_ERROR(dctx);
- ret = mdso_generate_symentry(dctx,*sym,fout);
+ ret = mdso_asmgen_symentry(dctx,*sym,fout);
if (fout != stdout)
fclose(fout);
@@ -69,7 +69,7 @@ mdso_api int mdso_create_implib_sources(const struct mdso_driver_ctx * dctx)
if (!(fout = mdso_create_asm_source(dctx,asmname)))
return MDSO_NESTED_ERROR(dctx);
- ret = mdso_generate_symfn(dctx,*sym,fout);
+ ret = mdso_asmgen_symfn(dctx,*sym,fout);
if (fout != stdout)
fclose(fout);