summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2022-12-20 23:20:52 +0100
committerMark Wielaard <mark@klomp.org>2022-12-21 23:34:52 +0100
commit8abee8bdecbeb3496af34038694da626b69b41c0 (patch)
tree673ab6929407dbdddaccb722116f3724b09bf29f
parent1984819d6ee2dc56583d3f11b9f6e3b2f491f62e (diff)
downloadelfutils-8abee8bdecbeb3496af34038694da626b69b41c0.tar.gz
lib: Remove -ffunction-sections for xmalloc
The build used -ffunction-sections just for one file. Signed-off-by: Mark Wielaard <mark@klomp.org>
-rw-r--r--lib/ChangeLog4
-rw-r--r--lib/Makefile.am4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 6bb0d4d0..5ab9477e 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,7 @@
+2022-12-20 Mark Wielaard <mark@klomp.org>
+
+ * Makefile.am (xmalloc_CFLAGS): Remove.
+
2022-09-21 Yonggang Luo <luoyonggang@gmail.com>
* color.c: Don't include unistd.h.
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 42ddf5ae..b3bb929f 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -41,7 +41,3 @@ noinst_HEADERS = fixedsizehash.h libeu.h system.h dynamicsizehash.h list.h \
eu-config.h color.h printversion.h bpf.h \
atomics.h stdatomic-fbsd.h dynamicsizehash_concurrent.h
EXTRA_DIST = dynamicsizehash.c dynamicsizehash_concurrent.c
-
-if !GPROF
-xmalloc_CFLAGS = -ffunction-sections
-endif