calculate stack address in .ld files