outelf: add panic() for unknown output types
commit9938bb633348316122789dbab56951e67ed7a7b9
authorH. Peter Anvin <hpa@linux.intel.com>
Tue, 20 Sep 2016 21:00:56 +0000 (20 14:00 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 20 Sep 2016 21:00:56 +0000 (20 14:00 -0700)
tree17dfe4f8371d58b29bb3ce1468ee0bbae1c7cf74
parent3f546034f3f337eb8ef7b8f2513fdaaa572f884c
outelf: add panic() for unknown output types

If we get an output type we don't know how to handle, do a panic()
rather than a compile-time error; this will be necessary in the short
time pending a change to the backend interface.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
output/outelf.c