diff options
Diffstat (limited to 'src/third_party/unwind/dist/include/tdep/dwarf-config.h')
-rw-r--r-- | src/third_party/unwind/dist/include/tdep/dwarf-config.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/third_party/unwind/dist/include/tdep/dwarf-config.h b/src/third_party/unwind/dist/include/tdep/dwarf-config.h new file mode 100644 index 00000000000..c759a46c63b --- /dev/null +++ b/src/third_party/unwind/dist/include/tdep/dwarf-config.h @@ -0,0 +1,28 @@ +/* Provide a real file - not a symlink - as it would cause multiarch conflicts + when multiple different arch releases are installed simultaneously. */ + +#if defined __aarch64__ +# include "tdep-aarch64/dwarf-config.h" +#elif defined __arm__ +# include "tdep-arm/dwarf-config.h" +#elif defined __hppa__ +# include "tdep-hppa/dwarf-config.h" +#elif defined __ia64__ +# include "tdep-ia64/dwarf-config.h" +#elif defined __mips__ +# include "tdep-mips/dwarf-config.h" +#elif defined __powerpc__ && !defined __powerpc64__ +# include "tdep-ppc32/dwarf-config.h" +#elif defined __powerpc64__ +# include "tdep-ppc64/dwarf-config.h" +#elif defined __sh__ +# include "tdep-sh/dwarf-config.h" +#elif defined __i386__ +# include "tdep-x86/dwarf-config.h" +#elif defined __x86_64__ || defined __amd64__ +# include "tdep-x86_64/dwarf-config.h" +#elif defined __tilegx__ +# include "tdep-tilegx/dwarf-config.h" +#else +# error "Unsupported arch" +#endif |