diff options
author | midipix <writeonce@midipix.org> | 2017-02-07 19:02:19 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2017-02-07 19:07:26 -0500 |
commit | e5cc48214cd685f1a18d3b22f04d09437c46bc86 (patch) | |
tree | 3b5d08b90636274903676d9b6f5cfa90b8d420ba /src/object | |
parent | bc1dc46ba6c36e53d563450bcbbc876d0f5d011a (diff) | |
download | mdso-e5cc48214cd685f1a18d3b22f04d09437c46bc86.tar.bz2 mdso-e5cc48214cd685f1a18d3b22f04d09437c46bc86.tar.xz |
symbol function assembly & object: renamed __foo_sym_fn.s --> .foo_symfn.s.
Diffstat (limited to 'src/object')
-rw-r--r-- | src/object/mdso_objgen_symfn.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/object/mdso_objgen_symfn.c b/src/object/mdso_objgen_symfn.c index 774d027..b42e0b3 100644 --- a/src/object/mdso_objgen_symfn.c +++ b/src/object/mdso_objgen_symfn.c @@ -155,12 +155,12 @@ int mdso_objgen_symfn( 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_fn.s",9); + memcpy(&mark[0],".",1); + memcpy(&mark[1],sym,symlen); + memcpy(&mark[1+symlen],"_symfn.s",8); - datoff += 12 + symlen; - mark += 12 + symlen; + datoff += 10 + symlen; + mark += 10 + symlen; symrec += 2; /* coff symbol: .text */ |