summaryrefslogtreecommitdiff
path: root/src/model/reladd.c
diff options
context:
space:
mode:
authornorly <ny-git@enpas.org>2013-05-31 17:14:27 +0100
committernorly <ny-git@enpas.org>2013-05-31 18:01:03 +0100
commit93156d059749102d3dfef793f00c63c8c1c27ee0 (patch)
tree9542a768e3db6222bb1059e70989f61ca40a826b /src/model/reladd.c
parentbd748f84aeea9600063bf822312a802bf09d1839 (diff)
Auto-layout file after --reladd
Diffstat (limited to 'src/model/reladd.c')
-rw-r--r--src/model/reladd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/model/reladd.c b/src/model/reladd.c
index ffd02f4..2de03dc 100644
--- a/src/model/reladd.c
+++ b/src/model/reladd.c
@@ -160,4 +160,7 @@ void elfu_mReladd(ElfuElf *me, ElfuElf *mrel)
/* Do relocations and other stuff */
elfu_mScnForall(mrel, subScnAdd2, me, NULL);
+
+ /* Re-layout to accommodate new contents */
+ elfu_mLayoutAuto(me);
}