https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88745
--- Comment #11 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Ian Lance Taylor <i...@gcc.gnu.org>: https://gcc.gnu.org/g:dea40c941a4d443d1b748bafb8a74f02c360e810 commit r11-251-gdea40c941a4d443d1b748bafb8a74f02c360e810 Author: Ian Lance Taylor <i...@golang.org> Date: Sun Feb 16 05:20:01 2020 -0800 libbacktrace: add Mach-O support libbacktrace/ PR libbacktrace/88745 * macho.c: New file. * filetype.awk: Recognize Mach-O files. * Makefile.am (FORMAT_FILES): Add macho.c. (check_DATA): New variable. Set to .dSYM if HAVE_DSYMUTIL. (%.dSYM): New pattern target. (test_macho_SOURCES, test_macho_CFLAGS): New targets. (test_macho_LDADD): New target. (BUILDTESTS): Add test_macho. (macho.lo): Add dependencies. * configure.ac: Recognize macho file type. Check for mach-o/dyld.h. Don't try to run objcopy if we don't find it. Look for dsymutil and define a HAVE_DSYMUTIL conditional. * Makefile.in: Regenerate. * configure: Regenerate. * config.h.in: Regenerate.