summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/logic/mdso_asmgen_symentry.c2
-rw-r--r--src/logic/mdso_create_implib_sources.c2
-rw-r--r--src/object/mdso_objgen_symentry.c10
3 files changed, 7 insertions, 7 deletions
diff --git a/src/logic/mdso_asmgen_symentry.c b/src/logic/mdso_asmgen_symentry.c
index fd0ec91..2b1541f 100644
--- a/src/logic/mdso_asmgen_symentry.c
+++ b/src/logic/mdso_asmgen_symentry.c
@@ -29,7 +29,7 @@ int mdso_asmgen_symentry(
const char * ptrsize;
const char * uscore;
- if (fprintf(fout,"\t.file \"__%s_sym_entry.s\"\n",sym) < 0)
+ if (fprintf(fout,"\t.file \".%s_symentry.s\"\n",sym) < 0)
return MDSO_FILE_ERROR(dctx);
if (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 1de33e3..c0d1923 100644
--- a/src/logic/mdso_create_implib_sources.c
+++ b/src/logic/mdso_create_implib_sources.c
@@ -51,7 +51,7 @@ mdso_api int mdso_create_implib_sources(const struct mdso_driver_ctx * dctx)
return MDSO_NESTED_ERROR(dctx);
for (sym=uctx->syms; *sym; sym++) {
- mdso_init_asmname(asmname,"__%s_sym_entry.s",*sym);
+ mdso_init_asmname(asmname,".%s_symentry.s",*sym);
if (!(fout = mdso_create_asm_source(dctx,asmname)))
return MDSO_NESTED_ERROR(dctx);
diff --git a/src/object/mdso_objgen_symentry.c b/src/object/mdso_objgen_symentry.c
index 9dd22be..62e2ff2 100644
--- a/src/object/mdso_objgen_symentry.c
+++ b/src/object/mdso_objgen_symentry.c
@@ -160,12 +160,12 @@ int mdso_objgen_symentry(
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_entry.s",12);
+ memcpy(&mark[0],".",1);
+ memcpy(&mark[1],sym,symlen);
+ memcpy(&mark[1+symlen],"_symentry.s",11);
- datoff += 15 + symlen;
- mark += 15 + symlen;
+ datoff += 13 + symlen;
+ mark += 13 + symlen;
symrec += 2;
/* coff symbol: .dsostrs */