scripts/sortextable: add support for ET_DYN binaries
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Sun, 10 Jan 2016 10:42:28 +0000 (11:42 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 24 Feb 2016 14:57:26 +0000 (14:57 +0000)
commit7b957b6e603623ef8b2e8222fa94b976df613fa2
treea162adbba1f241b477ead6044618ed0d691b7f7b
parent4a2e034e5cdadde4c712f79bdd57d1455c76a3db
scripts/sortextable: add support for ET_DYN binaries

Add support to scripts/sortextable for handling relocatable (PIE)
executables, whose ELF type is ET_DYN, not ET_EXEC. Other than adding
support for the new type, no changes are needed.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
scripts/sortextable.c