summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-10-24 00:54:59 -0400
committermidipix <writeonce@midipix.org>2016-11-11 00:22:50 -0500
commit64325248d3ee53041f657889ee9e01587d14194d (patch)
treeddea2cbb7bf64305352c007bab29ff5a02cbcd41 /src
parentd1356f25b0a5721f09752f52e00a048e63d40325 (diff)
downloadmdso-64325248d3ee53041f657889ee9e01587d14194d.tar.bz2
mdso-64325248d3ee53041f657889ee9e01587d14194d.tar.xz
mdso_generate_dsometa(): generate missing symbol name.
Diffstat (limited to 'src')
-rw-r--r--src/logic/mdso_generate_dsometa.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/logic/mdso_generate_dsometa.c b/src/logic/mdso_generate_dsometa.c
index a02d1d1..676f040 100644
--- a/src/logic/mdso_generate_dsometa.c
+++ b/src/logic/mdso_generate_dsometa.c
@@ -55,6 +55,9 @@ int mdso_generate_dsometa(
if ((fputs(alignstr,fout)) < 0)
return MDSO_FILE_ERROR(dctx);
+ if ((fprintf(fout,".__dsometa_%s:\n",dctx->cctx->libname)) < 0)
+ return MDSO_FILE_ERROR(dctx);
+
if ((fprintf(fout,"\t%s\t%d\t# base\n",ptrsize,0)) < 0)
return MDSO_FILE_ERROR(dctx);