$OpenBSD: patch-gcc_config_i386_openbsdelf_h,v 1.1.1.1 2012/04/23 15:56:41 pascal Exp $
--- gcc/config/i386/openbsdelf.h.orig	Wed Dec 22 13:06:01 2010
+++ gcc/config/i386/openbsdelf.h	Sun Mar 11 19:53:39 2012
@@ -113,9 +113,6 @@ along with GCC; see the file COPYING3.  If not see
 
 /* Assembler format: exception region output.  */
 
-/* our configuration still doesn't handle dwarf2 correctly */
-#define DWARF2_UNWIND_INFO 0
-
 /* Assembler format: alignment output.  */
 
 /* Note that we pick up ASM_OUTPUT_MAX_SKIP_ALIGN from i386/gas.h */
@@ -128,7 +125,10 @@ along with GCC; see the file COPYING3.  If not see
    %{shared:-shared} %{R*} \
    %{static:-Bstatic} \
    %{!static:-Bdynamic} \
+   %{rdynamic:-export-dynamic} \
    %{assert*} \
    -dynamic-linker /usr/libexec/ld.so"
 
 #define OBSD_HAS_CORRECT_SPECS
+
+#define SUBTARGET32_DEFAULT_CPU "i486"
