diff options
author | Mark Wielaard <mark@klomp.org> | 2018-10-25 13:30:19 +0200 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2018-11-06 12:07:48 +0100 |
commit | f6ae0ab9350eae1f879e2239c83b93e0a5887d8e (patch) | |
tree | 3a5dc1057cb72d5af2ade8565a116797bde5fcbd /src/ChangeLog | |
parent | b15ee95bcee45482e5d864c0048804117c1ada63 (diff) |
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>
Diffstat (limited to 'src/ChangeLog')
-rw-r--r-- | src/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 3a893b71..5832714d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,12 @@ 2018-10-24 Mark Wielaard <mark@klomp.org> + * strip.c (handle_elf): Extract code into separate functions... + (secndx_name): ... new function. + (get_xndxdata): Likewise. + (remove_debug_relocations): Likewise. + +2018-10-24 Mark Wielaard <mark@klomp.org> + * strip.c (handle_elf): Always copy over phdrs if there are any and check phnum instead of e_type to determine whether to move allocated sections. |