summaryrefslogtreecommitdiffhomepage
path: root/src/object
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-02-07 19:10:38 -0500
committermidipix <writeonce@midipix.org>2017-02-07 19:10:38 -0500
commitc0e12c8f017b3cf60906801605014c574637eb6a (patch)
tree9e614a09f45f532e98869d41704fe401b512c0ca /src/object
parente5cc48214cd685f1a18d3b22f04d09437c46bc86 (diff)
downloadmdso-c0e12c8f017b3cf60906801605014c574637eb6a.tar.bz2
mdso-c0e12c8f017b3cf60906801605014c574637eb6a.tar.xz
symbol entry assembly & object: renamed __foo_sym_entry.s --> .foo_symentry.s.
Diffstat (limited to 'src/object')
-rw-r--r--src/object/mdso_objgen_symentry.c10
1 files changed, 5 insertions, 5 deletions
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 */