Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Enable unwind tables by default. Assert the default in targe...



details:   https://anonhg.NetBSD.org/src/rev/0d03e427a3c6
branches:  trunk
changeset: 789290:0d03e427a3c6
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon Aug 12 21:22:18 2013 +0000

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

diffstat:

 external/gpl3/gcc/dist/gcc/config/netbsd-elf.h |  3 +++
 external/gpl3/gcc/dist/gcc/target-def.h        |  1 +
 gnu/dist/gcc4/gcc/config/netbsd-elf.h          |  3 +++
 gnu/dist/gcc4/gcc/target-def.h                 |  1 +
 4 files changed, 8 insertions(+), 0 deletions(-)

diffs (42 lines):

diff -r 6e03910a7bb8 -r 0d03e427a3c6 external/gpl3/gcc/dist/gcc/config/netbsd-elf.h
--- a/external/gpl3/gcc/dist/gcc/config/netbsd-elf.h    Mon Aug 12 21:20:02 2013 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/netbsd-elf.h    Mon Aug 12 21:22:18 2013 +0000
@@ -108,3 +108,6 @@
  %{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
diff -r 6e03910a7bb8 -r 0d03e427a3c6 external/gpl3/gcc/dist/gcc/target-def.h
--- a/external/gpl3/gcc/dist/gcc/target-def.h   Mon Aug 12 21:20:02 2013 +0000
+++ b/external/gpl3/gcc/dist/gcc/target-def.h   Mon Aug 12 21:22:18 2013 +0000
@@ -706,6 +706,7 @@
    }
 
 #ifndef TARGET_UNWIND_TABLES_DEFAULT
+#error "Missing unwind_tables_default"
 #define TARGET_UNWIND_TABLES_DEFAULT false
 #endif
 
diff -r 6e03910a7bb8 -r 0d03e427a3c6 gnu/dist/gcc4/gcc/config/netbsd-elf.h
--- a/gnu/dist/gcc4/gcc/config/netbsd-elf.h     Mon Aug 12 21:20:02 2013 +0000
+++ b/gnu/dist/gcc4/gcc/config/netbsd-elf.h     Mon Aug 12 21:22:18 2013 +0000
@@ -93,3 +93,6 @@
        %{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
diff -r 6e03910a7bb8 -r 0d03e427a3c6 gnu/dist/gcc4/gcc/target-def.h
--- a/gnu/dist/gcc4/gcc/target-def.h    Mon Aug 12 21:20:02 2013 +0000
+++ b/gnu/dist/gcc4/gcc/target-def.h    Mon Aug 12 21:22:18 2013 +0000
@@ -473,6 +473,7 @@
    }
 
 #ifndef TARGET_UNWIND_TABLES_DEFAULT
+#error "Missing unwind_tables_default"
 #define TARGET_UNWIND_TABLES_DEFAULT false
 #endif
 



Home | Main Index | Thread Index | Old Index