Module Name:    src
Committed By:   joerg
Date:           Mon Aug 12 21:22:18 UTC 2013

Modified Files:
        src/external/gpl3/gcc/dist/gcc: target-def.h
        src/external/gpl3/gcc/dist/gcc/config: netbsd-elf.h
        src/gnu/dist/gcc4/gcc: target-def.h
        src/gnu/dist/gcc4/gcc/config: netbsd-elf.h

Log Message:
Enable unwind tables by default. Assert the default in target-def.h to
make sure that it sticks.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl3/gcc/dist/gcc/target-def.h
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/dist/gcc/config/netbsd-elf.h
cvs rdiff -u -r1.1.1.1 -r1.2 src/gnu/dist/gcc4/gcc/target-def.h
cvs rdiff -u -r1.2 -r1.3 src/gnu/dist/gcc4/gcc/config/netbsd-elf.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/dist/gcc/target-def.h
diff -u src/external/gpl3/gcc/dist/gcc/target-def.h:1.1.1.1 src/external/gpl3/gcc/dist/gcc/target-def.h:1.2
--- src/external/gpl3/gcc/dist/gcc/target-def.h:1.1.1.1	Tue Jun 21 01:20:12 2011
+++ src/external/gpl3/gcc/dist/gcc/target-def.h	Mon Aug 12 21:22:18 2013
@@ -706,6 +706,7 @@
    }
 
 #ifndef TARGET_UNWIND_TABLES_DEFAULT
+#error "Missing unwind_tables_default"
 #define TARGET_UNWIND_TABLES_DEFAULT false
 #endif
 

Index: src/external/gpl3/gcc/dist/gcc/config/netbsd-elf.h
diff -u src/external/gpl3/gcc/dist/gcc/config/netbsd-elf.h:1.4 src/external/gpl3/gcc/dist/gcc/config/netbsd-elf.h:1.5
--- src/external/gpl3/gcc/dist/gcc/config/netbsd-elf.h:1.4	Sun Aug 12 00:01:50 2012
+++ src/external/gpl3/gcc/dist/gcc/config/netbsd-elf.h	Mon Aug 12 21:22:18 2013
@@ -108,3 +108,6 @@ along with GCC; see the file COPYING3.  
  %{static:%(link_gcc_c_sequence) -lmudflap}} \
  %{fmudflapth: -export-dynamic -lmudflapth -lpthread \
  %{static:%(link_gcc_c_sequence) -lmudflapth}} "
+
+#undef TARGET_UNWIND_TABLES_DEFAULT
+#define TARGET_UNWIND_TABLES_DEFAULT true

Index: src/gnu/dist/gcc4/gcc/target-def.h
diff -u src/gnu/dist/gcc4/gcc/target-def.h:1.1.1.1 src/gnu/dist/gcc4/gcc/target-def.h:1.2
--- src/gnu/dist/gcc4/gcc/target-def.h:1.1.1.1	Thu Apr 20 09:05:40 2006
+++ src/gnu/dist/gcc4/gcc/target-def.h	Mon Aug 12 21:22:18 2013
@@ -473,6 +473,7 @@ Foundation, 51 Franklin Street, Fifth Fl
    }
 
 #ifndef TARGET_UNWIND_TABLES_DEFAULT
+#error "Missing unwind_tables_default"
 #define TARGET_UNWIND_TABLES_DEFAULT false
 #endif
 

Index: src/gnu/dist/gcc4/gcc/config/netbsd-elf.h
diff -u src/gnu/dist/gcc4/gcc/config/netbsd-elf.h:1.2 src/gnu/dist/gcc4/gcc/config/netbsd-elf.h:1.3
--- src/gnu/dist/gcc4/gcc/config/netbsd-elf.h:1.2	Fri May 12 00:42:13 2006
+++ src/gnu/dist/gcc4/gcc/config/netbsd-elf.h	Mon Aug 12 21:22:18 2013
@@ -93,3 +93,6 @@ Boston, MA 02110-1301, USA.  */
        %{rdynamic:-export-dynamic} \
        %{!dynamic-linker:-dynamic-linker /usr/libexec/ld.elf_so}} \
      %{static:-static}}"
+
+#undef TARGET_UNWIND_TABLES_DEFAULT
+#define TARGET_UNWIND_TABLES_DEFAULT true

Reply via email to