Adjusted memory allocation in ld file