Content originally posted in LPCWare by lpcxpresso-support on Thu Mar 24 01:38:56 MST 2016
This alignment behaviour with GCC/LD, when an image is built to a, IIRC, non-64KB aligned address has been required for as long as I can remember (at least 5 or 6 years, and probably much longer). I believe it has something to do with MMU and page tables under Linux, which is of course is where much of the GCC tools work originated.
I have no idea why you should therefore be seeing different behaviour in LPCXpresso IDE v8.1. I haven't seen any differences here, and I can only assume that it is some subtle change in the latest GCC/LD that is being triggered by something specific in your application.
Regards,
LPCXpresso Support