Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gcc/dist/gcc We do not have a native libunwind...



details:   https://anonhg.NetBSD.org/src/rev/b4f8b0a85469
branches:  trunk
changeset: 783419:b4f8b0a85469
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Dec 20 07:12:26 2012 +0000

description:
We do not have a native libunwind (yet) - so reuse the Linux stuff on ia64
for now.

diffstat:

 external/gpl3/gcc/dist/gcc/config.gcc              |  3 +++
 external/gpl3/gcc/dist/gcc/config/ia64/fde-glibc.c |  2 ++
 2 files changed, 5 insertions(+), 0 deletions(-)

diffs (29 lines):

diff -r d0b99429c738 -r b4f8b0a85469 external/gpl3/gcc/dist/gcc/config.gcc
--- a/external/gpl3/gcc/dist/gcc/config.gcc     Thu Dec 20 03:51:04 2012 +0000
+++ b/external/gpl3/gcc/dist/gcc/config.gcc     Thu Dec 20 07:12:26 2012 +0000
@@ -1503,6 +1503,9 @@
        tm_file="${tm_file} dbxelf.h elfos.h netbsd.h netbsd-elf.h ia64/sysv4.h ia64/netbsd.h"
        target_cpu_default="MASK_GNU_AS|MASK_GNU_LD"
        tmake_file="${tmake_file} ia64/t-ia64"
+       if test x$with_system_libunwind != xyes ; then
+               tmake_file="${tmake_file} t-libunwind-elf ia64/t-glibc-libunwind"
+       fi
        extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
        ;;
 ia64*-*-freebsd*)
diff -r d0b99429c738 -r b4f8b0a85469 external/gpl3/gcc/dist/gcc/config/ia64/fde-glibc.c
--- a/external/gpl3/gcc/dist/gcc/config/ia64/fde-glibc.c        Thu Dec 20 03:51:04 2012 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/ia64/fde-glibc.c        Thu Dec 20 07:12:26 2012 +0000
@@ -34,10 +34,12 @@
 #include <link.h>
 #include "unwind-ia64.h"
 
+#if !defined(__NetBSD__)
 #if __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 2) \
     || (__GLIBC__ == 2 && __GLIBC_MINOR__ == 2 && !defined(DT_CONFIG))
 # error You need GLIBC 2.2.4 or later on IA-64 Linux
 #endif
+#endif
 
 struct unw_ia64_callback_data
 {



Home | Main Index | Thread Index | Old Index