[PATCH] Remove unused is_static

Jakub Jelinek jakub@redhat.com
Tue Nov 22 16:18:00 GMT 2005


Hi!

This field was introduced in the 2005-01-06 patch, but all places
that use is_static seem to be pointer.is_static, i.e. the is_static
field in dtv_t defined in <tls.h>.
I've removed this field and glibc still compiles, which suggests that
it is really unused.

2005-11-22  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
	unused is_static field from slotinfo array.

--- libc/sysdeps/generic/ldsodefs.h.jj	2005-10-14 18:33:23.000000000 +0200
+++ libc/sysdeps/generic/ldsodefs.h	2005-11-22 17:02:06.000000000 +0100
@@ -508,7 +508,6 @@ struct rtld_global
     struct dtv_slotinfo
     {
       size_t gen;
-      bool is_static;
       struct link_map *map;
     } slotinfo[0];
   } *_dl_tls_dtv_slotinfo_list;

	Jakub



More information about the Libc-hacker mailing list