olga / rpms / glibc

Forked from rpms/glibc 5 years ago
Clone

Blame SOURCES/glibc-rh1505492-undef-elf-dtv-resize.patch

00db10
Suppress -Wundef warnings in glibc-rh1189278.patch.  Specific to the
00db10
backport, so no upstream patch.
00db10
00db10
diff --git a/elf/dl-tls.c b/elf/dl-tls.c
00db10
index b9f58a9cd2745b95..02857f5d61fcfc81 100644
00db10
--- a/elf/dl-tls.c
00db10
+++ b/elf/dl-tls.c
00db10
@@ -404,7 +404,7 @@ _dl_resize_dtv (dtv_t *dtv)
00db10
   size_t newsize = GL(dl_tls_max_dtv_idx) + DTV_SURPLUS;
00db10
   size_t oldsize = dtv[-1].counter;
00db10
 
00db10
-#if SHARED
00db10
+#ifdef SHARED
00db10
   if (dtv == GL(dl_initial_dtv))
00db10
     {
00db10
       /* This is the initial dtv that was either statically allocated in