glibc/glibc-RHEL-72017-1.patch
Frédéric Bérat 458ff98d2a Ensure fallback initialization of ctype TLS data pointers to fix segfaults in programs using dlmopen or auditors
- Backport: ctype: Reformat Makefile.
- Backport: Remove <libc-tsd.h>
- Backport: Optimize __libc_tsd_* thread variable access
- Backport: Use proper extern declaration for
  _nl_C_LC_CTYPE_{class,toupper,tolower}
- Backport: ctype: Fallback initialization of TLS using relocations
  (bug 19341, bug 32483)

Resolves: RHEL-72017
2025-05-27 14:15:24 +02:00

40 lines
814 B
Diff

commit 12956e0a330e3d90fc196f7d7a047ce613f78920
Author: Carlos O'Donell <carlos@redhat.com>
Date: Thu Jun 8 06:43:44 2023 -0400
ctype: Reformat Makefile.
Reflow and sort Makefile.
Code generation changes present due to link order changes.
No regressions on x86_64 and i686.
diff --git a/ctype/Makefile b/ctype/Makefile
index e8b5684ba77a2cd5..3a59358ec4deb28a 100644
--- a/ctype/Makefile
+++ b/ctype/Makefile
@@ -24,9 +24,18 @@ include ../Makeconfig
headers := ctype.h
-routines := ctype ctype-c99 ctype-extn ctype-c99_l ctype_l isctype
-aux := ctype-info
-
-tests := test_ctype
+routines := \
+ ctype \
+ ctype-c99 \
+ ctype-c99_l \
+ ctype-extn \
+ ctype_l \
+ isctype \
+ # routines
+aux := ctype-info
+
+tests := \
+ test_ctype \
+ # tests
include ../Rules