I've been forced to remove the --gc-sections line, as it removes functions, including _Unwind_Resume, causing errors at link time.
This is only apparent if you've started using something from the stdlib that can panic, as otherwise there are no references to _Unwind_Resume, but for my rot13 branch, I have been unable to build with --gc-sections.