Content originally posted in LPCWare by lpcentric on Wed Oct 19 16:20:39 MST 2011
The workaround is to remove --gc-sections from the linker options.
So there's a bug in there somewhere, or at least the description of --gc-sections doesn't imply to me that debugging information is removed from the output file.