symtabAPI: Error out on unknown createRelocationSections
authorJosh Stone <jistone@redhat.com>
Tue, 21 Jan 2014 01:33:25 +0000 (17:33 -0800)
committerJosh Stone <jistone@redhat.com>
Tue, 21 Jan 2014 01:33:25 +0000 (17:33 -0800)
commit706e0b2fa974cabebea6d88dea076218ad516876
tree68592df4a86351d8e6067a4bdc008aa8ae6e9147
parentc4ad1fbc37535b84f83343c9296c2717704264ab
symtabAPI: Error out on unknown createRelocationSections

It shouldn't happen, but to the static analyzer it looks like an odd
relocation combination in createRelocationSections will lead to using
unset local variables.  Add a quick check to make sure we got something.

Reported by coverity as UNINIT.
symtabAPI/src/emitElf-64.C
symtabAPI/src/emitElf.C