summaryrefslogtreecommitdiff
path: root/src/logic
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-02-07 19:02:19 -0500
committermidipix <writeonce@midipix.org>2017-02-07 19:07:26 -0500
commite5cc48214cd685f1a18d3b22f04d09437c46bc86 (patch)
tree3b5d08b90636274903676d9b6f5cfa90b8d420ba /src/logic
parentbc1dc46ba6c36e53d563450bcbbc876d0f5d011a (diff)
downloadmdso-e5cc48214cd685f1a18d3b22f04d09437c46bc86.tar.bz2
mdso-e5cc48214cd685f1a18d3b22f04d09437c46bc86.tar.xz
symbol function assembly & object: renamed __foo_sym_fn.s --> .foo_symfn.s.
Diffstat (limited to 'src/logic')
-rw-r--r--src/logic/mdso_asmgen_symfn.c2
-rw-r--r--src/logic/mdso_create_implib_sources.c2
2 files changed, 2 insertions, 2 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);