patch-gcc_unwind-dw2-fde-openbsd_c 633 B

123456789101112131415
  1. $OpenBSD: patch-gcc_unwind-dw2-fde-openbsd_c,v 1.1.1.1 2011/11/14 13:00:57 pascal Exp $
  2. --- gcc/unwind-dw2-fde-openbsd.c.orig Sat Apr 11 14:24:23 2009
  3. +++ gcc/unwind-dw2-fde-openbsd.c Sat Apr 11 14:24:02 2009
  4. @@ -0,0 +1,10 @@
  5. +/* XXX This file provides a few defines such that we can compile the
  6. + source from unwind-dw2-fde-glibc.c on OpenBSD. Hopefully we can
  7. + integrate these defines in that file and rename it to something
  8. + like unwind-de2-fde-phdr.c in the up-stream sources. */
  9. +
  10. +#define ElfW(type) Elf_##type
  11. +
  12. +#define __GLIBC__ 3 /* Fool unwind-dw2-fde-glibc.c. */
  13. +#include "unwind-dw2-fde-glibc.c"
  14. +