aboutsummaryrefslogtreecommitdiff
path: root/malloc/Makefile
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2023-03-21 00:46:43 -0400
committerDJ Delorie <dj@redhat.com>2023-05-08 16:40:10 -0400
commitd1417176a35d27ffb8da0ffb1e33154163b6eeb2 (patch)
treeaa3e8cd61cadf5fec88e4cf57cfaf4b0e0ae6538 /malloc/Makefile
parentcea74a4a24c36202309e8254f1f938e2166488f3 (diff)
downloadglibc-d1417176a35d27ffb8da0ffb1e33154163b6eeb2.tar
glibc-d1417176a35d27ffb8da0ffb1e33154163b6eeb2.tar.gz
glibc-d1417176a35d27ffb8da0ffb1e33154163b6eeb2.tar.bz2
glibc-d1417176a35d27ffb8da0ffb1e33154163b6eeb2.zip
aligned_alloc: conform to C17
This patch adds the strict checking for power-of-two alignments in aligned_alloc(), and updates the manual accordingly. Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'malloc/Makefile')
-rw-r--r--malloc/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/malloc/Makefile b/malloc/Makefile
index 21c5a7c0d7..ce6ebcf1b3 100644
--- a/malloc/Makefile
+++ b/malloc/Makefile
@@ -44,11 +44,13 @@ tests := mallocbug tst-malloc tst-valloc tst-calloc tst-obstack \
tst-safe-linking \
tst-mallocalign1 \
tst-memalign-2 \
- tst-memalign-3
+ tst-memalign-3 \
+ tst-aligned-alloc
tests-static := \
tst-interpose-static-nothread \
- tst-interpose-static-thread
+ tst-interpose-static-thread \
+ tst-aligned-alloc-static
# Test for the malloc_set_state symbol removed in glibc 2.25.
ifeq ($(have-GLIBC_2.23)$(build-shared),yesyes)