base: Add a type for keeping track of object file loaders.

This avoids having a big pile of #if-s in sim/ and allows
dynamically adding new types of object file loaders which might
recognize new arch/OS combinations.

Change-Id: Ie3b9c1aa2974d30a61afc4fcc529ffd6a74d43e0
Reviewed-by: Andreas Sandberg <>
Maintainer: Andreas Sandberg <>
Tested-by: kokoro <>
2 files changed