summaryrefslogtreecommitdiff
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-03-02 12:01:40 -0500
committermidipix <writeonce@midipix.org>2016-11-10 23:35:38 -0500
commit08a8944a7ecd8faa1fbe09e4bb0abbd3970735a6 (patch)
tree8f0d4091d24fd11e934b7bfbe85a53420912ad52 /src/driver
parent951ee88a077c949e4eb3c5a7d4489f57443cf081 (diff)
downloadperk-08a8944a7ecd8faa1fbe09e4bb0abbd3970735a6.tar.bz2
perk-08a8944a7ecd8faa1fbe09e4bb0abbd3970735a6.tar.xz
output: implemented --pretty=dlltool for exported symbols.
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/pe_driver_ctx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/driver/pe_driver_ctx.c b/src/driver/pe_driver_ctx.c
index bf55e5e..6d02c69 100644
--- a/src/driver/pe_driver_ctx.c
+++ b/src/driver/pe_driver_ctx.c
@@ -169,6 +169,8 @@ int pe_get_driver_ctx(
if (pretty && !strcmp(pretty,"yaml"))
cctx.fmtflags |= PERK_PRETTY_YAML;
+ else if (pretty && !strcmp(pretty,"dlltool"))
+ cctx.fmtflags |= PERK_PRETTY_DLLTOOL;
if (!(ctx = pe_driver_ctx_alloc(meta,&cctx,nunits)) && cctx.output)
close(fdout);