diff options
author | midipix <writeonce@midipix.org> | 2016-04-30 08:02:45 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-04-30 08:03:53 -0400 |
commit | df07fbfa9bfb2d04b459080ca1b2e8c69c5631dc (patch) | |
tree | dcb734ba5e7b43be04968e801fe9da584ea99e2c /src/logic/slbt_exec_link.c | |
parent | ed278036574c892772b26ee110ba6e1258affbe6 (diff) | |
download | slibtool-df07fbfa9bfb2d04b459080ca1b2e8c69c5631dc.tar.bz2 slibtool-df07fbfa9bfb2d04b459080ca1b2e8c69c5631dc.tar.xz |
link mode: added output annotation support.
Diffstat (limited to 'src/logic/slbt_exec_link.c')
-rw-r--r-- | src/logic/slbt_exec_link.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c index 1c872be..452c9da 100644 --- a/src/logic/slbt_exec_link.c +++ b/src/logic/slbt_exec_link.c @@ -277,6 +277,13 @@ static int slbt_exec_link_adjust_argument_vector( + /* output annotation */ + if (carg == ectx->lout[0]) { + ectx->mout[0] = &aarg[0]; + ectx->mout[1] = &aarg[1]; + } + + /* argument translation */ if (**carg == '-') { *aarg++ = *carg++; |