strip: Split out debug section relocation into separate helper functions.
authorMark Wielaard <mark@klomp.org>
Thu, 25 Oct 2018 11:30:19 +0000 (13:30 +0200)
committerMark Wielaard <mark@klomp.org>
Tue, 6 Nov 2018 11:07:48 +0000 (12:07 +0100)
commitf6ae0ab9350eae1f879e2239c83b93e0a5887d8e
tree3a5dc1057cb72d5af2ade8565a116797bde5fcbd
parentb15ee95bcee45482e5d864c0048804117c1ada63
strip: Split out debug section relocation into separate helper functions.

Extract a couple of helper functions out of handle_elf (secndx_name,
get_xndxdata and remove_debug_relocations) so they can be reused more
easily in the future.

Signed-off-by: Mark Wielaard <mark@klomp.org>
src/ChangeLog
src/strip.c