This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


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

[commit] [patch] Fix TLS access for -static -pthread


On Wed, 21 May 2014 16:14:09 +0200, Tom Tromey wrote:
> Jan> I have put there:
> Jan> +      /* This code path handles the case of -static -pthread executables:
> Jan> +	 https://sourceware.org/ml/libc-help/2014-03/msg00024.html
> Jan> +	 For older GNU libc r_debug.r_map is NULL.  For GNU libc after
> Jan> +	 PR libc/16831 due to GDB PR threads/16954 LOAD_MODULE is also NULL.
> Jan> +	 The constant number 1 depends on GNU __libc_setup_tls
> Jan> +	 initialization of l_tls_modid to 1.  */
> 
> Thanks, that looks good.

Checked in:
	5876f5032f60c45c4bd19e7ea7d0c14d0346b93e


Jan


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