Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 52374 | Differences between
and this patch

Collapse All | Expand All

(-)glibc-2.3.3/sysdeps/generic/dl-tls.c (+7 lines)
Lines 62-67 _dl_next_tls_modid (void) Link Here
62
      size_t disp = 0;
62
      size_t disp = 0;
63
      struct dtv_slotinfo_list *runp = GL(dl_tls_dtv_slotinfo_list);
63
      struct dtv_slotinfo_list *runp = GL(dl_tls_dtv_slotinfo_list);
64
64
65
      if (GL(dl_tls_max_dtv_idx) == GL(dl_tls_static_nelem))
66
	{
67
	  /* There is actually no gap.  */
68
	  GL(dl_tls_dtv_gaps) = false;
69
70
	  goto nogaps;
71
	}
65
      /* Note that this branch will never be executed during program
72
      /* Note that this branch will never be executed during program
66
	 start since there are no gaps at that time.  Therefore it
73
	 start since there are no gaps at that time.  Therefore it
67
	 does not matter that the dl_tls_dtv_slotinfo is not allocated
74
	 does not matter that the dl_tls_dtv_slotinfo is not allocated

Return to bug 52374