This is the mail archive of the libc-hacker@sourceware.org mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Remove unused is_static


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]