diff options
| author | Lenard Mollenkopf <glibc@lenardmollenkopf.de> | 2025-04-08 14:16:54 +0200 |
|---|---|---|
| committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2025-04-08 12:51:51 +0000 |
| commit | 5b132ec2b7712dbc055838b3b538b83ad1196414 (patch) | |
| tree | 28355a9f14cbf15da68217aba5e3be48169092a2 /stdlib/Makefile | |
| parent | 4fa959d13d21b8f56a43aa0a416100303736c55c (diff) | |
| download | glibc-5b132ec2b7712dbc055838b3b538b83ad1196414.tar.xz glibc-5b132ec2b7712dbc055838b3b538b83ad1196414.zip | |
stdlib: Implement C2Y uabs, ulabs, ullabs and uimaxabs
C2Y adds unsigned versions of the abs functions (see C2Y draft N3467 and
proposal N3349).
Tested for x86_64.
Signed-off-by: Lenard Mollenkopf <glibc@lenardmollenkopf.de>
Diffstat (limited to 'stdlib/Makefile')
| -rw-r--r-- | stdlib/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/stdlib/Makefile b/stdlib/Makefile index 513445bcbc..1c80e497f0 100644 --- a/stdlib/Makefile +++ b/stdlib/Makefile @@ -211,6 +211,9 @@ routines := \ strtoull_l \ swapcontext \ system \ + uabs \ + ulabs \ + ullabs \ wcstombs \ wctomb \ xpg_basename \ @@ -363,6 +366,10 @@ tests := \ tst-swapcontext2 \ tst-thread-quick_exit \ tst-tininess \ + tst-uabs \ + tst-uimaxabs \ + tst-ulabs \ + tst-ullabs \ tst-unsetenv1 \ tst-width \ tst-width-stdint \ @@ -412,6 +419,11 @@ CFLAGS-tst-abs.c += -fno-builtin CFLAGS-tst-labs.c += -fno-builtin CFLAGS-tst-llabs.c += -fno-builtin +CFLAGS-tst-uabs.c += -fno-builtin +CFLAGS-tst-uimaxabs.c += -fno-builtin +CFLAGS-tst-ulabs.c += -fno-builtin +CFLAGS-tst-ullabs.c += -fno-builtin + CFLAGS-tst-stdbit-Wconversion.c += -Wconversion -Werror CFLAGS-tst-stdc_trailing_zeros.c += -fno-builtin CFLAGS-tst-stdc_trailing_ones.c += -fno-builtin |
