This is a fix for https://bugs.llvm.org/show_bug.cgi?id=40007.
It is rebased on top of D59762.
Idea is to swap the order of stripping. So that we strip sections before
symbols what allows us to strip relocation sections without emitting
the error about relative symbols.
Okay, since you've added the new test case to this test, this test is badly named again. Sorry! Perhaps "strip-symbol-and-relocation.test"?