public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Remove unused is_static
@ 2005-11-22 16:18 Jakub Jelinek
  0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2005-11-22 16:18 UTC (permalink / raw)
  To: Ulrich Drepper; +Cc: Glibc hackers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-22 16:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-22 16:18 [PATCH] Remove unused is_static Jakub Jelinek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).