Original patch of Shankar Easwaran with additional test case. The yaml2obj does not allow to create an object file with non-unique sections names so the fix uses a binary input object file in the test case. llvm-svn: 238115