summaryrefslogtreecommitdiff
path: root/lang/gcc5/patches/patch-libgcc_unwind-dw2-fde-dip.c
blob: 957e5e44610b4d92eef77f8f1ce819341776af15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-libgcc_unwind-dw2-fde-dip.c,v 1.1 2015/07/16 12:03:36 ryoon Exp $

--- libgcc/unwind-dw2-fde-dip.c.orig	2014-05-21 11:08:58.000000000 +0000
+++ libgcc/unwind-dw2-fde-dip.c
@@ -65,7 +65,7 @@
 #endif
 
 #if !defined(inhibit_libc) && defined(HAVE_LD_EH_FRAME_HDR) \
-    && defined(__OpenBSD__)
+    && defined(__OpenBSD__) || defined(__NetBSD__)
 # define ElfW(type) Elf_##type
 # define USE_PT_GNU_EH_FRAME
 #endif