summaryrefslogtreecommitdiff
path: root/libbacktrace/config.h.in
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2013-11-19 01:09:47 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2013-11-19 01:09:47 +0000
commit49579c7e20da4cf0dc82bf1c8458bf4fc7a38007 (patch)
treea715cbe6fb809ff31f1487b709ea67a6f616cec5 /libbacktrace/config.h.in
parent7f369373da8aa1cfe4aa172d29ae2180a2b31139 (diff)
downloadgcc-49579c7e20da4cf0dc82bf1c8458bf4fc7a38007.tar.gz
configure.ac: Check for support of __atomic extensions.
* configure.ac: Check for support of __atomic extensions. * internal.h: Declare or #define atomic functions for use in backtrace code. * atomic.c: New file. * dwarf.c (dwarf_lookup_pc): Use atomic functions. (dwarf_fileline, backtrace_dwarf_add): Likewise. * elf.c (elf_add_syminfo_data, elf_syminfo): Likewise. (backtrace_initialize): Likewise. * fileline.c (fileline_initialize): Likewise. * Makefile.am (libbacktrace_la_SOURCES): Add atomic.c. * configure, config.h.in, Makefile.in: Rebuild. From-SVN: r204994
Diffstat (limited to 'libbacktrace/config.h.in')
-rw-r--r--libbacktrace/config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbacktrace/config.h.in b/libbacktrace/config.h.in
index 48ff63fdc05..87cb805984d 100644
--- a/libbacktrace/config.h.in
+++ b/libbacktrace/config.h.in
@@ -3,6 +3,9 @@
/* ELF size: 32 or 64 */
#undef BACKTRACE_ELF_SIZE
+/* Define to 1 if you have the __atomic functions */
+#undef HAVE_ATOMIC_FUNCTIONS
+
/* Define to 1 if you have the declaration of `strnlen', and to 0 if you
don't. */
#undef HAVE_DECL_STRNLEN