tools/sstrip: update to latest version
authorRui Salvaterra <rsalvaterra@gmail.com>
Wed, 25 Nov 2020 21:28:17 +0000 (21:28 +0000)
committerPaul Spooren <mail@aparcar.org>
Thu, 26 Nov 2020 22:44:25 +0000 (12:44 -1000)
commit3f567d8452644dc5349addabbb8f0bff9d0bc2c0
tree2c79a050bbe2089e699c61f4bef093b522ed7ae2
parent6429307a3d6ba4c88d477cc7a3995be314e3dd15
tools/sstrip: update to latest version

Drop our local sstrip copy and use the current ELFKickers upstream
version.

Patch the original makefile in order to avoid building elftoc, since it
fails with musl's elf.h. This is fine, since we only need sstrip anyway.

Finally, add the possibility to pass additional arguments to sstrip and
pass -z (remove trailing zeros) by default, which matches the behaviour
of the previous version.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
[shorten long commit msg lines]
Signed-off-by: Paul Spooren <mail@aparcar.org>
config/Config-build.in
rules.mk
tools/sstrip/Makefile
tools/sstrip/patches/001-disable-elftoc-compilation.patch [new file with mode: 0644]
tools/sstrip/src/sstrip.c [deleted file]