Auto-layout file after --reladd
[centaur.git] / src / model / reladd.c
index ffd02f48e03cddd01d66dca90d68f0e08bcbdbb2..2de03dca43965c6b82a1311e26faea7856110eb4 100644 (file)
@@ -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);
 }