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)
committerAlex Shi <alex.shi@linaro.org>
Wed, 11 May 2016 15:18:43 +0000 (23:18 +0800)
commitafc69bdc2ac79942a59f67296738ba8e85e784fb
tree5df18306f175e24ee8ecaf05d4c35924cf564120
parent6ef77fd5962d90de7957ef9eafddd659c7375a4f
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>
(cherry picked from commit 7b957b6e603623ef8b2e8222fa94b976df613fa2)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
scripts/sortextable.c