libbacktrace: add support of PE/COFF
authorTristan Gingold <gingold@adacore.com>
Fri, 29 May 2015 08:40:20 +0000 (08:40 +0000)
committerTristan Gingold <gingold@gcc.gnu.org>
Fri, 29 May 2015 08:40:20 +0000 (08:40 +0000)
commite24afc10e0d4795e71115d161b36fc5406f0df85
treed6375a46135746eb6a0b5529013ddbf4b0267ad4
parentc469078de7c017978bda033baff3e991987b5509
libbacktrace: add support of PE/COFF

libbacktrace/
2015-05-29  Tristan Gingold  <gingold@adacore.com>

* pecoff.c: New file.
* Makefile.am (FORMAT_FILES): Add pecoff.c and dependencies.
* Makefile.in: Regenerate.
* filetype.awk: Detect pecoff.
* configure.ac: Define BACKTRACE_SUPPORTS_DATA on elf platforms.
Add pecoff.
* btest.c (test5): Test enabled only if BACKTRACE_SUPPORTS_DATA is
true.
* backtrace-supported.h.in (BACKTRACE_SUPPORTS_DATA): Define.
* configure: Regenerate.
* pecoff.c: New file.

From-SVN: r223859
libbacktrace/ChangeLog
libbacktrace/Makefile.am
libbacktrace/Makefile.in
libbacktrace/backtrace-supported.h.in
libbacktrace/btest.c
libbacktrace/configure
libbacktrace/configure.ac
libbacktrace/filetype.awk
libbacktrace/pecoff.c [new file with mode: 0644]