ddsect.sh: fix calculating END_ADDRESS
authorAntonio Ospite <ao2@ao2.it>
Sat, 28 Jun 2014 08:53:53 +0000 (10:53 +0200)
committerAntonio Ospite <ao2@ao2.it>
Sat, 28 Jun 2014 08:53:53 +0000 (10:53 +0200)
commitdfc0a89d1af98db9e1c5b6bbef874dc545eb1a08
treec70404651d8d9a3b61b9e2032f3eea2898dc4178
parent0cf32b433cd2b1c528cf273c9d589841c25c9d90
ddsect.sh: fix calculating END_ADDRESS

Calculate the actual end address of the section, this way it could be
reused in other memory layout files.

Adjust also the size calculation, so that the value will be the same as
before.
ddsect.sh