You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
516 B
17 lines
516 B
6 years ago
|
Suppress -Wundef warnings in glibc-rh1189278.patch. Specific to the
|
||
|
backport, so no upstream patch.
|
||
|
|
||
|
diff --git a/elf/dl-tls.c b/elf/dl-tls.c
|
||
|
index b9f58a9cd2745b95..02857f5d61fcfc81 100644
|
||
|
--- a/elf/dl-tls.c
|
||
|
+++ b/elf/dl-tls.c
|
||
|
@@ -404,7 +404,7 @@ _dl_resize_dtv (dtv_t *dtv)
|
||
|
size_t newsize = GL(dl_tls_max_dtv_idx) + DTV_SURPLUS;
|
||
|
size_t oldsize = dtv[-1].counter;
|
||
|
|
||
|
-#if SHARED
|
||
|
+#ifdef SHARED
|
||
|
if (dtv == GL(dl_initial_dtv))
|
||
|
{
|
||
|
/* This is the initial dtv that was either statically allocated in
|