diff options
author | midipix <writeonce@midipix.org> | 2016-10-24 00:54:59 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-11 00:22:50 -0500 |
commit | 64325248d3ee53041f657889ee9e01587d14194d (patch) | |
tree | ddea2cbb7bf64305352c007bab29ff5a02cbcd41 | |
parent | d1356f25b0a5721f09752f52e00a048e63d40325 (diff) | |
download | mdso-64325248d3ee53041f657889ee9e01587d14194d.tar.bz2 mdso-64325248d3ee53041f657889ee9e01587d14194d.tar.xz |
mdso_generate_dsometa(): generate missing symbol name.
-rw-r--r-- | src/logic/mdso_generate_dsometa.c | 3 |
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); |