diff options
author | 2010-05-07 18:47:29 +0000 | |
---|---|---|
committer | 2010-05-07 18:47:29 +0000 | |
commit | ae21fd38220ed697be5b1f0e9ce6940abcda59d7 (patch) | |
tree | 6da33ad659f5b433a08c6c5afaa7bf6e817f425c /gnu/gcc | |
parent | Add infrastructure to build libstdc++-v3 for gcc4 (diff) | |
download | wireguard-openbsd-ae21fd38220ed697be5b1f0e9ce6940abcda59d7.tar.xz wireguard-openbsd-ae21fd38220ed697be5b1f0e9ce6940abcda59d7.zip |
Bring over changes from gcc3 (and gcc4 in ports) to make C++ exception
handling work with shared libraries.
Diffstat (limited to 'gnu/gcc')
-rw-r--r-- | gnu/gcc/gcc/unwind-dw2-fde-openbsd.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/gcc/gcc/unwind-dw2-fde-openbsd.c b/gnu/gcc/gcc/unwind-dw2-fde-openbsd.c new file mode 100644 index 00000000000..69310d9a32d --- /dev/null +++ b/gnu/gcc/gcc/unwind-dw2-fde-openbsd.c @@ -0,0 +1,9 @@ +/* XXX This file provides a few defines such that we can compile the + source from unwind-dw2-fde-glibc.c on OpenBSD. Hopefully we can + integrate these defines in that file and rename it to something + like unwind-de2-fde-phdr.c in the up-stream sources. */ + +#define ElfW(type) Elf_##type + +#define __GLIBC__ 3 /* Fool unwind-dw2-fde-glibc.c. */ +#include "unwind-dw2-fde-glibc.c" |