summaryrefslogtreecommitdiff
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorTimm Bäder <tbaeder@redhat.com>2021-02-17 09:43:47 +0100
committerMark Wielaard <mark@klomp.org>2021-03-01 18:07:20 +0100
commit93a6c36c8540f073d487d9be97bcfabb591cda2c (patch)
treec92a5d958426ec47480bc44da61788e57a88bd65 /src/ChangeLog
parent39c67b8f6c0dcee999eb8e73f8e07a41efb78c2b (diff)
downloadelfutils-93a6c36c8540f073d487d9be97bcfabb591cda2c.tar.gz
unstrip: Pull warn() into file scope
Get rid of a nested function this way. Signed-off-by: Timm Bäder <tbaeder@redhat.com>
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index f358baa2..9e0ebd89 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,11 @@
2021-02-17 Timm Bäder <tbaeder@redhat.com>
+ * unstrip.c (handle_explicit_files): Move warn function...
+ (warn): ...here as top-level static function taking stripped,
+ unstripped files and force flag as extra arguments.
+
+2021-02-17 Timm Bäder <tbaeder@redhat.com>
+
* unstrip.c (copy_elided_sections): Inline find_unalloc_section
function into calling location. The sec pointer is set to NULL
before the if-else statement and only set when match is found.