reloc: run fix_sharedlib() only on application/x-sharedlib and application/x-pie-executable
reloc: run fix_sharedlib() only on application/x-sharedlib and application/x-pie-executable

We need to prevent to run fix_sharedlib() on non-ELF files.

Fixes #4415

Signed-off-by: Takuya ASADA <4ebfb6f510af412d6e89fefa3ab96d9c8b5e3fff@scylladb.com>
Message-Id: <20190409114941.28276-1-4ebfb6f510af412d6e89fefa3ab96d9c8b5e3fff@scylladb.com>

scylladb/scylla,scylladb/scylla,scylladb/scylla,avikivity/scylla,avikivity/scylla,avikivity/scylla,scylladb/scylla