diff options
author | Tom Tromey <tom@tromey.com> | 2023-08-27 11:37:38 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-11-07 17:47:12 -0700 |
commit | c6d6a048f5a6f422e470c7c4bdb21a0c59d7c8fd (patch) | |
tree | 6059da9eaca725a1e8582e4ae8c919f34019b430 /bfd/aclocal.m4 | |
parent | 426931be4b538078c89c09d89ae3ecbab3146f46 (diff) | |
download | gdb-c6d6a048f5a6f422e470c7c4bdb21a0c59d7c8fd.zip gdb-c6d6a048f5a6f422e470c7c4bdb21a0c59d7c8fd.tar.gz gdb-c6d6a048f5a6f422e470c7c4bdb21a0c59d7c8fd.tar.bz2 |
Make various error-related globals thread-local
This changes bfd_error et al to be thread-local.
* Makefile.in: Regenerate.
* aclocal.m4: Include ax_tls.m4.
* ax_tls.m4: New file.
* bfd.c: (bfd_error, input_error, input_bfd, _bfd_error_buf):
Now thread-local.
(bfd_asprintf): Update docs.
* config.in, configure: Regenerate.
* configure.ac: Call AX_TLS.
* po/bfd.pot: Regenerate.
Diffstat (limited to 'bfd/aclocal.m4')
-rw-r--r-- | bfd/aclocal.m4 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/aclocal.m4 b/bfd/aclocal.m4 index 09b849d..e0142ae 100644 --- a/bfd/aclocal.m4 +++ b/bfd/aclocal.m4 @@ -1187,6 +1187,7 @@ m4_include([../ltoptions.m4]) m4_include([../ltsugar.m4]) m4_include([../ltversion.m4]) m4_include([../lt~obsolete.m4]) +m4_include([ax_tls.m4]) m4_include([bfd.m4]) m4_include([warning.m4]) m4_include([acinclude.m4]) |