summaryrefslogtreecommitdiff
path: root/libbacktrace/config.h.in
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-19 01:09:47 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-19 01:09:47 +0000
commitbcafb4a81d1fc8deefed6e6fa567d66417857c9a (patch)
treea715cbe6fb809ff31f1487b709ea67a6f616cec5 /libbacktrace/config.h.in
parent5dbddbd9cba08722841cff67404dd01e2654c099 (diff)
downloadgcc-bcafb4a81d1fc8deefed6e6fa567d66417857c9a.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204994 138bc75d-0d04-0410-961f-82ee72b054a4
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