public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
* [SCM]  vendor/LIBUNWIND: Import of libunwind version libunwind-20070205
@ 2008-02-05 11:50 mark
  0 siblings, 0 replies; only message in thread
From: mark @ 2008-02-05 11:50 UTC (permalink / raw)
  To: frysk-cvs

The branch, vendor/LIBUNWIND has been updated
       via  e865a5692d1da0739b37a8be1d4bd185e7707a20 (commit)
      from  61307753916c524ccff305032b4c0ee45643eaea (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit e865a5692d1da0739b37a8be1d4bd185e7707a20
Author: Mark Wielaard <mwielaard@redhat.com>
Date:   Tue Feb 5 12:50:45 2008 +0100

    Import of libunwind version libunwind-20070205

-----------------------------------------------------------------------

Summary of changes:
 frysk-imports/libunwind/Makefile.am                |    8 +
 frysk-imports/libunwind/Makefile.in                |   24 +-
 frysk-imports/libunwind/aclocal.m4                 |  500 +++++++---
 frysk-imports/libunwind/configure                  | 1032 +++++++++++++-------
 frysk-imports/libunwind/configure.in               |    9 +-
 frysk-imports/libunwind/doc/Makefile.in            |    5 +
 frysk-imports/libunwind/include/dwarf.h            |   18 +
 frysk-imports/libunwind/include/dwarf_i.h          |   72 +-
 frysk-imports/libunwind/include/libunwind-arm.h    |  298 ++++++
 .../{libunwind-x86_64.h => libunwind-mips.h}       |  128 ++-
 frysk-imports/libunwind/include/libunwind-x86.h    |   17 +-
 frysk-imports/libunwind/include/remote.h           |    8 +-
 .../include/{tdep-x86 => tdep-arm}/dwarf-config.h  |   15 +-
 .../include/{tdep-x86 => tdep-arm}/jmpbuf.h        |    5 +-
 .../include/{tdep-x86 => tdep-arm}/libunwind_i.h   |   25 +-
 .../libunwind/include/tdep-hppa/libunwind_i.h      |    1 +
 .../{tdep-x86_64 => tdep-mips}/dwarf-config.h      |   23 +-
 .../include/{tdep-x86 => tdep-mips}/jmpbuf.h       |    5 +-
 .../include/{tdep-x86 => tdep-mips}/libunwind_i.h  |  100 ++-
 .../libunwind/include/tdep-ppc32/libunwind_i.h     |    1 +
 .../libunwind/include/tdep-ppc64/libunwind_i.h     |    1 +
 .../libunwind/include/tdep-x86/libunwind_i.h       |    1 +
 .../libunwind/include/tdep-x86_64/libunwind_i.h    |    1 +
 frysk-imports/libunwind/src/Makefile.am            |  118 ++-
 frysk-imports/libunwind/src/Makefile.in            |  822 ++++++++++++----
 .../src/{hppa => arm}/Gcreate_addr_space.c         |   15 +-
 .../libunwind/src/{ia64 => arm}/Gget_proc_info.c   |   11 +-
 .../libunwind/src/{hppa => arm}/Gget_save_loc.c    |   28 +-
 .../libunwind/src/{hppa => arm}/Gglobal.c          |   21 +-
 frysk-imports/libunwind/src/{x86 => arm}/Ginit.c   |   42 +-
 .../libunwind/src/{hppa => arm}/Ginit_local.c      |    3 +-
 .../libunwind/src/{hppa => arm}/Ginit_remote.c     |    3 +-
 .../_UPT_destroy.c => arm/Gis_signal_frame.c}      |   15 +-
 frysk-imports/libunwind/src/{ppc32 => arm}/Gregs.c |   67 +-
 .../src/{ia64/Gget_proc_info.c => arm/Gresume.c}   |   27 +-
 .../src/{ia64/Gget_proc_info.c => arm/Gstep.c}     |   22 +-
 .../src/{hppa => arm}/Lcreate_addr_space.c         |    0 
 .../libunwind/src/{hppa => arm}/Lget_proc_info.c   |    0 
 .../libunwind/src/{hppa => arm}/Lget_save_loc.c    |    0 
 .../libunwind/src/{hppa => arm}/Lglobal.c          |    0 
 frysk-imports/libunwind/src/{hppa => arm}/Linit.c  |    0 
 .../libunwind/src/{hppa => arm}/Linit_local.c      |    0 
 .../libunwind/src/{hppa => arm}/Linit_remote.c     |    0 
 .../libunwind/src/{hppa => arm}/Lis_signal_frame.c |    0 
 frysk-imports/libunwind/src/{hppa => arm}/Lregs.c  |    0 
 .../libunwind/src/{hppa => arm}/Lresume.c          |    0 
 frysk-imports/libunwind/src/{dwarf => arm}/Lstep.c |    0 
 frysk-imports/libunwind/src/arm/gen-offsets.c      |   54 +
 .../arm/getcontext.S}                              |   59 +-
 frysk-imports/libunwind/src/{x86 => arm}/init.h    |   41 +-
 .../libunwind/src/{x86 => arm}/is_fpreg.c          |   14 +-
 frysk-imports/libunwind/src/arm/offsets.h          |   36 +
 frysk-imports/libunwind/src/arm/regname.c          |   90 ++
 frysk-imports/libunwind/src/arm/siglongjmp.S       |    8 +
 .../src/{mi/dyn-info-list.c => arm/unwind_i.h}     |   21 +-
 frysk-imports/libunwind/src/dwarf/Gexpr.c          |   60 +-
 frysk-imports/libunwind/src/dwarf/Gfde.c           |   88 +-
 .../libunwind/src/dwarf/Gfind_proc_info-lsb.c      |  732 ++++++++++++--
 frysk-imports/libunwind/src/dwarf/Gpe.c            |    2 +
 .../libunwind/src/mi/Gfind_dynamic_proc_info.c     |    2 +-
 frysk-imports/libunwind/src/mi/Gget_reg.c          |    7 +
 frysk-imports/libunwind/src/mi/backtrace.c         |    2 +-
 frysk-imports/libunwind/src/mi/dyn-info-list.c     |    2 +-
 frysk-imports/libunwind/src/mi/flush_cache.c       |   14 +
 .../src/{ia64 => mips}/Gcreate_addr_space.c        |   28 +-
 .../libunwind/src/{ia64 => mips}/Gget_proc_info.c  |   11 +-
 .../libunwind/src/{x86_64 => mips}/Gget_save_loc.c |   48 +-
 .../libunwind/src/{hppa => mips}/Gglobal.c         |   21 +-
 frysk-imports/libunwind/src/{x86 => mips}/Ginit.c  |   87 +-
 .../libunwind/src/{hppa => mips}/Ginit_local.c     |    3 +-
 .../libunwind/src/{hppa => mips}/Ginit_remote.c    |    3 +-
 .../_UPT_destroy.c => mips/Gis_signal_frame.c}     |   15 +-
 .../libunwind/src/{ppc32 => mips}/Gregs.c          |   85 +-
 .../src/{ia64/Gget_proc_info.c => mips/Gresume.c}  |   27 +-
 .../src/{ia64/Gget_proc_info.c => mips/Gstep.c}    |   22 +-
 .../src/{hppa => mips}/Lcreate_addr_space.c        |    0 
 .../libunwind/src/{hppa => mips}/Lget_proc_info.c  |    0 
 .../libunwind/src/{hppa => mips}/Lget_save_loc.c   |    0 
 .../libunwind/src/{hppa => mips}/Lglobal.c         |    0 
 frysk-imports/libunwind/src/{hppa => mips}/Linit.c |    0 
 .../libunwind/src/{hppa => mips}/Linit_local.c     |    0 
 .../libunwind/src/{hppa => mips}/Linit_remote.c    |    0 
 .../src/{hppa => mips}/Lis_signal_frame.c          |    0 
 frysk-imports/libunwind/src/{hppa => mips}/Lregs.c |    0 
 .../libunwind/src/{hppa => mips}/Lresume.c         |    0 
 .../libunwind/src/{dwarf => mips}/Lstep.c          |    0 
 .../src/{ptrace/_UPT_destroy.c => mips/elfxx.c}    |   11 +-
 frysk-imports/libunwind/src/mips/gen-offsets.c     |   30 +
 .../src/{ia64/siglongjmp.S => mips/getcontext.S}   |  102 ++-
 frysk-imports/libunwind/src/{hppa => mips}/init.h  |   26 +-
 .../libunwind/src/{ppc32 => mips}/is_fpreg.c       |   11 +-
 frysk-imports/libunwind/src/mips/offsets.h         |   39 +
 .../libunwind/src/{x86_64 => mips}/regname.c       |   30 +-
 frysk-imports/libunwind/src/mips/siglongjmp.S      |    8 +
 .../libunwind/src/{x86 => mips}/unwind_i.h         |   24 +-
 .../libunwind/src/ptrace/_UPT_reg_offset.c         |    2 +
 frysk-imports/libunwind/src/setjmp/longjmp.c       |    2 +-
 frysk-imports/libunwind/src/setjmp/siglongjmp.c    |    2 +-
 .../libunwind/src/unwind/FindEnclosingFunction.c   |    5 +-
 .../libunwind/src/unwind/RaiseException.c          |    2 +-
 .../libunwind/src/unwind/unwind-internal.h         |    2 +-
 frysk-imports/libunwind/src/x86/Gget_save_loc.c    |    8 +
 frysk-imports/libunwind/src/x86/Gregs.c            |   19 +
 frysk-imports/libunwind/src/x86/is_fpreg.c         |    3 +-
 frysk-imports/libunwind/src/x86/regname.c          |    4 +-
 frysk-imports/libunwind/tests/Makefile.in          |    5 +
 106 files changed, 3972 insertions(+), 1436 deletions(-)
 create mode 100644 frysk-imports/libunwind/include/libunwind-arm.h
 copy frysk-imports/libunwind/include/{libunwind-x86_64.h => libunwind-mips.h} (53%)
 copy frysk-imports/libunwind/include/{tdep-x86 => tdep-arm}/dwarf-config.h (80%)
 copy frysk-imports/libunwind/include/{tdep-x86 => tdep-arm}/jmpbuf.h (93%)
 copy frysk-imports/libunwind/include/{tdep-x86 => tdep-arm}/libunwind_i.h (94%)
 copy frysk-imports/libunwind/include/{tdep-x86_64 => tdep-mips}/dwarf-config.h (74%)
 copy frysk-imports/libunwind/include/{tdep-x86 => tdep-mips}/jmpbuf.h (93%)
 copy frysk-imports/libunwind/include/{tdep-x86 => tdep-mips}/libunwind_i.h (78%)
 copy frysk-imports/libunwind/src/{hppa => arm}/Gcreate_addr_space.c (81%)
 copy frysk-imports/libunwind/src/{ia64 => arm}/Gget_proc_info.c (86%)
 copy frysk-imports/libunwind/src/{hppa => arm}/Gget_save_loc.c (78%)
 copy frysk-imports/libunwind/src/{hppa => arm}/Gglobal.c (76%)
 copy frysk-imports/libunwind/src/{x86 => arm}/Ginit.c (77%)
 copy frysk-imports/libunwind/src/{hppa => arm}/Ginit_local.c (96%)
 copy frysk-imports/libunwind/src/{hppa => arm}/Ginit_remote.c (93%)
 copy frysk-imports/libunwind/src/{ptrace/_UPT_destroy.c => arm/Gis_signal_frame.c} (83%)
 copy frysk-imports/libunwind/src/{ppc32 => arm}/Gregs.c (63%)
 copy frysk-imports/libunwind/src/{ia64/Gget_proc_info.c => arm/Gresume.c} (79%)
 copy frysk-imports/libunwind/src/{ia64/Gget_proc_info.c => arm/Gstep.c} (75%)
 copy frysk-imports/libunwind/src/{hppa => arm}/Lcreate_addr_space.c (100%)
 copy frysk-imports/libunwind/src/{hppa => arm}/Lget_proc_info.c (100%)
 copy frysk-imports/libunwind/src/{hppa => arm}/Lget_save_loc.c (100%)
 copy frysk-imports/libunwind/src/{hppa => arm}/Lglobal.c (100%)
 copy frysk-imports/libunwind/src/{hppa => arm}/Linit.c (100%)
 copy frysk-imports/libunwind/src/{hppa => arm}/Linit_local.c (100%)
 copy frysk-imports/libunwind/src/{hppa => arm}/Linit_remote.c (100%)
 copy frysk-imports/libunwind/src/{hppa => arm}/Lis_signal_frame.c (100%)
 copy frysk-imports/libunwind/src/{hppa => arm}/Lregs.c (100%)
 copy frysk-imports/libunwind/src/{hppa => arm}/Lresume.c (100%)
 copy frysk-imports/libunwind/src/{dwarf => arm}/Lstep.c (100%)
 create mode 100644 frysk-imports/libunwind/src/arm/gen-offsets.c
 copy frysk-imports/libunwind/{tests/ia64-test-readonly-asm.S => src/arm/getcontext.S} (57%)
 copy frysk-imports/libunwind/src/{x86 => arm}/init.h (54%)
 copy frysk-imports/libunwind/src/{x86 => arm}/is_fpreg.c (69%)
 create mode 100644 frysk-imports/libunwind/src/arm/offsets.h
 create mode 100644 frysk-imports/libunwind/src/arm/regname.c
 create mode 100644 frysk-imports/libunwind/src/arm/siglongjmp.S
 copy frysk-imports/libunwind/src/{mi/dyn-info-list.c => arm/unwind_i.h} (80%)
 copy frysk-imports/libunwind/src/{ia64 => mips}/Gcreate_addr_space.c (87%)
 copy frysk-imports/libunwind/src/{ia64 => mips}/Gget_proc_info.c (86%)
 copy frysk-imports/libunwind/src/{x86_64 => mips}/Gget_save_loc.c (68%)
 copy frysk-imports/libunwind/src/{hppa => mips}/Gglobal.c (75%)
 copy frysk-imports/libunwind/src/{x86 => mips}/Ginit.c (67%)
 copy frysk-imports/libunwind/src/{hppa => mips}/Ginit_local.c (96%)
 copy frysk-imports/libunwind/src/{hppa => mips}/Ginit_remote.c (93%)
 copy frysk-imports/libunwind/src/{ptrace/_UPT_destroy.c => mips/Gis_signal_frame.c} (83%)
 copy frysk-imports/libunwind/src/{ppc32 => mips}/Gregs.c (58%)
 copy frysk-imports/libunwind/src/{ia64/Gget_proc_info.c => mips/Gresume.c} (79%)
 copy frysk-imports/libunwind/src/{ia64/Gget_proc_info.c => mips/Gstep.c} (75%)
 copy frysk-imports/libunwind/src/{hppa => mips}/Lcreate_addr_space.c (100%)
 copy frysk-imports/libunwind/src/{hppa => mips}/Lget_proc_info.c (100%)
 copy frysk-imports/libunwind/src/{hppa => mips}/Lget_save_loc.c (100%)
 copy frysk-imports/libunwind/src/{hppa => mips}/Lglobal.c (100%)
 copy frysk-imports/libunwind/src/{hppa => mips}/Linit.c (100%)
 copy frysk-imports/libunwind/src/{hppa => mips}/Linit_local.c (100%)
 copy frysk-imports/libunwind/src/{hppa => mips}/Linit_remote.c (100%)
 copy frysk-imports/libunwind/src/{hppa => mips}/Lis_signal_frame.c (100%)
 copy frysk-imports/libunwind/src/{hppa => mips}/Lregs.c (100%)
 copy frysk-imports/libunwind/src/{hppa => mips}/Lresume.c (100%)
 copy frysk-imports/libunwind/src/{dwarf => mips}/Lstep.c (100%)
 copy frysk-imports/libunwind/src/{ptrace/_UPT_destroy.c => mips/elfxx.c} (87%)
 create mode 100644 frysk-imports/libunwind/src/mips/gen-offsets.c
 copy frysk-imports/libunwind/src/{ia64/siglongjmp.S => mips/getcontext.S} (54%)
 copy frysk-imports/libunwind/src/{hppa => mips}/init.h (68%)
 copy frysk-imports/libunwind/src/{ppc32 => mips}/is_fpreg.c (84%)
 create mode 100644 frysk-imports/libunwind/src/mips/offsets.h
 copy frysk-imports/libunwind/src/{x86_64 => mips}/regname.c (79%)
 create mode 100644 frysk-imports/libunwind/src/mips/siglongjmp.S
 copy frysk-imports/libunwind/src/{x86 => mips}/unwind_i.h (81%)
 mode change 100644 => 100755 frysk-imports/libunwind/tests/perf-startup

First 500 lines of diff:
diff --git a/frysk-imports/libunwind/Makefile.am b/frysk-imports/libunwind/Makefile.am
index 6b4e1d8..0c68c6d 100644
--- a/frysk-imports/libunwind/Makefile.am
+++ b/frysk-imports/libunwind/Makefile.am
@@ -1,9 +1,15 @@
+if ARCH_ARM
+include_HEADERS_tdep = include/libunwind-arm.h
+else
 if ARCH_IA64
 include_HEADERS_tdep = include/libunwind-ia64.h
 else
 if ARCH_HPPA
 include_HEADERS_tdep = include/libunwind-hppa.h
 else
+if ARCH_MIPS
+include_HEADERS_tdep = include/libunwind-mips.h
+else
 if ARCH_X86
 include_HEADERS_tdep = include/libunwind-x86.h
 else
@@ -19,8 +25,10 @@ endif # ARCH_PPC64
 endif # ARCH_PPC32
 endif # ARCH_X86_64
 endif # ARCH_X86
+endif # ARCH_MIPS
 endif # ARCH_HPPA
 endif # ARCH_IA64
+endif # ARCH_ARM
 
 include_HEADERS_common = $(include_HEADERS_tdep)		\
 	include/libunwind-dynamic.h include/libunwind-ptrace.h
diff --git a/frysk-imports/libunwind/Makefile.in b/frysk-imports/libunwind/Makefile.in
index 09c1df1..921c2fa 100644
--- a/frysk-imports/libunwind/Makefile.in
+++ b/frysk-imports/libunwind/Makefile.in
@@ -66,8 +66,9 @@ RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
 	uninstall-recursive
 am__include_HEADERS_DIST = include/libunwind-ppc64.h \
 	include/libunwind-ppc32.h include/libunwind-x86_64.h \
-	include/libunwind-x86.h include/libunwind-hppa.h \
-	include/libunwind-ia64.h include/libunwind-dynamic.h \
+	include/libunwind-x86.h include/libunwind-mips.h \
+	include/libunwind-hppa.h include/libunwind-ia64.h \
+	include/libunwind-arm.h include/libunwind-dynamic.h \
 	include/libunwind-ptrace.h include/libunwind.h \
 	include/unwind.h
 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
@@ -100,10 +101,14 @@ AMDEP_TRUE = @AMDEP_TRUE@
 AMTAR = @AMTAR@
 AR = @AR@
 ARCH = @ARCH@
+ARCH_ARM_FALSE = @ARCH_ARM_FALSE@
+ARCH_ARM_TRUE = @ARCH_ARM_TRUE@
 ARCH_HPPA_FALSE = @ARCH_HPPA_FALSE@
 ARCH_HPPA_TRUE = @ARCH_HPPA_TRUE@
 ARCH_IA64_FALSE = @ARCH_IA64_FALSE@
 ARCH_IA64_TRUE = @ARCH_IA64_TRUE@
+ARCH_MIPS_FALSE = @ARCH_MIPS_FALSE@
+ARCH_MIPS_TRUE = @ARCH_MIPS_TRUE@
 ARCH_PPC32_FALSE = @ARCH_PPC32_FALSE@
 ARCH_PPC32_TRUE = @ARCH_PPC32_TRUE@
 ARCH_PPC64_FALSE = @ARCH_PPC64_FALSE@
@@ -174,6 +179,7 @@ PKG_MINOR = @PKG_MINOR@
 RANLIB = @RANLIB@
 REMOTE_ONLY_FALSE = @REMOTE_ONLY_FALSE@
 REMOTE_ONLY_TRUE = @REMOTE_ONLY_TRUE@
+SED = @SED@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
@@ -233,12 +239,14 @@ target_alias = @target_alias@
 target_cpu = @target_cpu@
 target_os = @target_os@
 target_vendor = @target_vendor@
-@ARCH_HPPA_FALSE@@ARCH_IA64_FALSE@@ARCH_PPC32_FALSE@@ARCH_PPC64_TRUE@@ARCH_X86_64_FALSE@@ARCH_X86_FALSE@include_HEADERS_tdep = include/libunwind-ppc64.h
-@ARCH_HPPA_FALSE@@ARCH_IA64_FALSE@@ARCH_PPC32_TRUE@@ARCH_X86_64_FALSE@@ARCH_X86_FALSE@include_HEADERS_tdep = include/libunwind-ppc32.h
-@ARCH_HPPA_FALSE@@ARCH_IA64_FALSE@@ARCH_X86_64_TRUE@@ARCH_X86_FALSE@include_HEADERS_tdep = include/libunwind-x86_64.h
-@ARCH_HPPA_FALSE@@ARCH_IA64_FALSE@@ARCH_X86_TRUE@include_HEADERS_tdep = include/libunwind-x86.h
-@ARCH_HPPA_TRUE@@ARCH_IA64_FALSE@include_HEADERS_tdep = include/libunwind-hppa.h
-@ARCH_IA64_TRUE@include_HEADERS_tdep = include/libunwind-ia64.h
+@ARCH_ARM_FALSE@@ARCH_HPPA_FALSE@@ARCH_IA64_FALSE@@ARCH_MIPS_FALSE@@ARCH_PPC32_FALSE@@ARCH_PPC64_TRUE@@ARCH_X86_64_FALSE@@ARCH_X86_FALSE@include_HEADERS_tdep = include/libunwind-ppc64.h
+@ARCH_ARM_FALSE@@ARCH_HPPA_FALSE@@ARCH_IA64_FALSE@@ARCH_MIPS_FALSE@@ARCH_PPC32_TRUE@@ARCH_X86_64_FALSE@@ARCH_X86_FALSE@include_HEADERS_tdep = include/libunwind-ppc32.h
+@ARCH_ARM_FALSE@@ARCH_HPPA_FALSE@@ARCH_IA64_FALSE@@ARCH_MIPS_FALSE@@ARCH_X86_64_TRUE@@ARCH_X86_FALSE@include_HEADERS_tdep = include/libunwind-x86_64.h
+@ARCH_ARM_FALSE@@ARCH_HPPA_FALSE@@ARCH_IA64_FALSE@@ARCH_MIPS_FALSE@@ARCH_X86_TRUE@include_HEADERS_tdep = include/libunwind-x86.h
+@ARCH_ARM_FALSE@@ARCH_HPPA_FALSE@@ARCH_IA64_FALSE@@ARCH_MIPS_TRUE@include_HEADERS_tdep = include/libunwind-mips.h
+@ARCH_ARM_FALSE@@ARCH_HPPA_TRUE@@ARCH_IA64_FALSE@include_HEADERS_tdep = include/libunwind-hppa.h
+@ARCH_ARM_FALSE@@ARCH_IA64_TRUE@include_HEADERS_tdep = include/libunwind-ia64.h
+@ARCH_ARM_TRUE@include_HEADERS_tdep = include/libunwind-arm.h
 include_HEADERS_common = $(include_HEADERS_tdep)		\
 	include/libunwind-dynamic.h include/libunwind-ptrace.h
 
diff --git a/frysk-imports/libunwind/aclocal.m4 b/frysk-imports/libunwind/aclocal.m4
index 7380e7e..98d9744 100644
--- a/frysk-imports/libunwind/aclocal.m4
+++ b/frysk-imports/libunwind/aclocal.m4
@@ -13,7 +13,7 @@
 
 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
 
-# serial 48 Debian 1.5.22-4 AC_PROG_LIBTOOL
+# serial 51 Debian 1.5.24-2 AC_PROG_LIBTOOL
 
 
 # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
@@ -176,7 +176,7 @@ test -z "$STRIP" && STRIP=:
 test -z "$ac_objext" && ac_objext=o
 
 # Determine commands to create old-style static archives.
-old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 old_postinstall_cmds='chmod 644 $oldlib'
 old_postuninstall_cmds=
 
@@ -263,8 +263,9 @@ cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 # Check for compiler boilerplate output or warnings with
 # the simple compiler test code.
 AC_DEFUN([_LT_COMPILER_BOILERPLATE],
-[ac_outfile=conftest.$ac_objext
-printf "$lt_simple_compile_test_code" >conftest.$ac_ext
+[AC_REQUIRE([LT_AC_PROG_SED])dnl
+ac_outfile=conftest.$ac_objext
+echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 _lt_compiler_boilerplate=`cat conftest.err`
 $rm conftest*
@@ -276,8 +277,9 @@ $rm conftest*
 # Check for linker boilerplate output or warnings with
 # the simple link test code.
 AC_DEFUN([_LT_LINKER_BOILERPLATE],
-[ac_outfile=conftest.$ac_objext
-printf "$lt_simple_link_test_code" >conftest.$ac_ext
+[AC_REQUIRE([LT_AC_PROG_SED])dnl
+ac_outfile=conftest.$ac_objext
+echo "$lt_simple_link_test_code" >conftest.$ac_ext
 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 _lt_linker_boilerplate=`cat conftest.err`
 $rm conftest*
@@ -293,12 +295,20 @@ $rm conftest*
 # If we don't find anything, use the default library path according
 # to the aix ld manual.
 AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
-[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
-}'`
+[AC_REQUIRE([LT_AC_PROG_SED])dnl
+AC_LINK_IFELSE(AC_LANG_PROGRAM,[
+lt_aix_libpath_sed='
+    /Import File Strings/,/^$/ {
+	/^0/ {
+	    s/^0  *\(.*\)$/\1/
+	    p
+	}
+    }'
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 # Check for a 64-bit object if we didn't find anything.
-if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
-}'`; fi],[])
+if test -z "$aix_libpath"; then
+  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+fi],[])
 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 ])# _LT_AC_SYS_LIBPATH_AIX
 
@@ -529,13 +539,17 @@ ia64-*-hpux*)
   rm -rf conftest*
   ;;
 
-x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
+s390*-*linux*|sparc*-*linux*)
   # Find out which ABI we are using.
   echo 'int i;' > conftest.$ac_ext
   if AC_TRY_EVAL(ac_compile); then
     case `/usr/bin/file conftest.o` in
     *32-bit*)
       case $host in
+        x86_64-*kfreebsd*-gnu)
+          LD="${LD-ld} -m elf_i386_fbsd"
+          ;;
         x86_64-*linux*)
           LD="${LD-ld} -m elf_i386"
           ;;
@@ -552,6 +566,9 @@ x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
       ;;
     *64-bit*)
       case $host in
+        x86_64-*kfreebsd*-gnu)
+          LD="${LD-ld} -m elf_x86_64_fbsd"
+          ;;
         x86_64-*linux*)
           LD="${LD-ld} -m elf_x86_64"
           ;;
@@ -623,7 +640,7 @@ AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
 AC_CACHE_CHECK([$1], [$2],
   [$2=no
   ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
-   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    lt_compiler_flag="$3"
    # Insert the option either (1) after the last *FLAGS variable, or
    # (2) before a word containing "conftest.", or (3) at the end.
@@ -664,11 +681,12 @@ fi
 # ------------------------------------------------------------
 # Check whether the given compiler option works
 AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
-[AC_CACHE_CHECK([$1], [$2],
+[AC_REQUIRE([LT_AC_PROG_SED])dnl
+AC_CACHE_CHECK([$1], [$2],
   [$2=no
    save_LDFLAGS="$LDFLAGS"
    LDFLAGS="$LDFLAGS $3"
-   printf "$lt_simple_link_test_code" > conftest.$ac_ext
+   echo "$lt_simple_link_test_code" > conftest.$ac_ext
    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
      # The linker can only warn and ignore the option if not recognized
      # So say no if there are warnings
@@ -782,24 +800,27 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
     fi
     ;;
   *)
-    # If test is not a shell built-in, we'll probably end up computing a
-    # maximum length that is only half of the actual maximum length, but
-    # we can't tell.
-    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
-    while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
+    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
+    if test -n "$lt_cv_sys_max_cmd_len"; then
+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
+    else
+      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
+      while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
 	       = "XX$teststring") >/dev/null 2>&1 &&
-	    new_result=`expr "X$teststring" : ".*" 2>&1` &&
-	    lt_cv_sys_max_cmd_len=$new_result &&
-	    test $i != 17 # 1/2 MB should be enough
-    do
-      i=`expr $i + 1`
-      teststring=$teststring$teststring
-    done
-    teststring=
-    # Add a significant safety factor because C++ compilers can tack on massive
-    # amounts of additional arguments before passing them to the linker.
-    # It appears as though 1/2 is a usable value.
-    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
+	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
+	      lt_cv_sys_max_cmd_len=$new_result &&
+	      test $i != 17 # 1/2 MB should be enough
+      do
+        i=`expr $i + 1`
+        teststring=$teststring$teststring
+      done
+      teststring=
+      # Add a significant safety factor because C++ compilers can tack on massive
+      # amounts of additional arguments before passing them to the linker.
+      # It appears as though 1/2 is a usable value.
+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
+    fi
     ;;
   esac
 ])
@@ -1026,7 +1047,8 @@ fi
 # ---------------------------------
 # Check to see if options -c and -o are simultaneously supported by compiler
 AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
-[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
+[AC_REQUIRE([LT_AC_PROG_SED])dnl
+AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
 AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
   [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
   [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
@@ -1034,7 +1056,7 @@ AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
    mkdir conftest
    cd conftest
    mkdir out
-   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
    lt_compiler_flag="-o out/conftest2.$ac_objext"
    # Insert the option either (1) after the last *FLAGS variable, or
@@ -1174,6 +1196,7 @@ else
    darwin*)
        if test -n "$STRIP" ; then
          striplib="$STRIP -x"
+         old_striplib="$STRIP -S"
          AC_MSG_RESULT([yes])
        else
   AC_MSG_RESULT([no])
@@ -1191,7 +1214,8 @@ fi
 # -----------------------------
 # PORTME Fill in your ld.so characteristics
 AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
-[AC_MSG_CHECKING([dynamic linker characteristics])
+[AC_REQUIRE([LT_AC_PROG_SED])dnl
+AC_MSG_CHECKING([dynamic linker characteristics])
 library_names_spec=
 libname_spec='lib$name'
 soname_spec=
@@ -1205,20 +1229,58 @@ shlibpath_overrides_runpath=unknown
 version_type=none
 dynamic_linker="$host_os ld.so"
 sys_lib_dlsearch_path_spec="/lib /usr/lib"
+m4_if($1,[],[
 if test "$GCC" = yes; then
-  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
-  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
+  case $host_os in
+    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
+    *) lt_awk_arg="/^libraries:/" ;;
+  esac
+  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
+  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
     # if the path contains ";" then we assume it to be the separator
     # otherwise default to the standard path separator (i.e. ":") - it is
     # assumed that no part of a normal pathname contains ";" but that should
     # okay in the real world where ";" in dirpaths is itself problematic.
-    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
+    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   else
-    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
+    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   fi
+  # Ok, now we have the path, separated by spaces, we can step through it
+  # and add multilib dir if necessary.
+  lt_tmp_lt_search_path_spec=
+  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
+  for lt_sys_path in $lt_search_path_spec; do
+    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
+      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
+    else
+      test -d "$lt_sys_path" && \
+	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
+    fi
+  done
+  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
+BEGIN {RS=" "; FS="/|\n";} {
+  lt_foo="";
+  lt_count=0;
+  for (lt_i = NF; lt_i > 0; lt_i--) {
+    if ($lt_i != "" && $lt_i != ".") {
+      if ($lt_i == "..") {
+        lt_count++;
+      } else {
+        if (lt_count == 0) {
+          lt_foo="/" $lt_i lt_foo;
+        } else {
+          lt_count--;
+        }
+      }
+    }
+  }
+  if (lt_foo != "") { lt_freq[[lt_foo]]++; }
+  if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
+}'`
+  sys_lib_search_path_spec=`echo $lt_search_path_spec`
 else
   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
-fi
+fi])
 need_lib_prefix=unknown
 hardcode_into_libs=no
 
@@ -1375,12 +1437,8 @@ darwin* | rhapsody*)
   shlibpath_overrides_runpath=yes
   shlibpath_var=DYLD_LIBRARY_PATH
   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
-  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
-  if test "$GCC" = yes; then
-    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
-  else
-    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
-  fi
+  m4_if([$1], [],[
+  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) 
   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   ;;
 
@@ -1434,7 +1492,7 @@ freebsd* | dragonfly*)
     shlibpath_overrides_runpath=no
     hardcode_into_libs=yes
     ;;
-  freebsd*) # from 4.6 on
+  *) # from 4.6 on, and DragonFly
     shlibpath_overrides_runpath=yes
     hardcode_into_libs=yes
     ;;
@@ -1497,7 +1555,7 @@ hpux9* | hpux10* | hpux11*)
   postinstall_cmds='chmod 555 $lib'
   ;;
 
-interix3*)
+interix[[3-9]]*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -1568,7 +1626,7 @@ linux* | k*bsd*-gnu)
 
   # Append ld.so.conf contents to the search path
   if test -f /etc/ld.so.conf; then
-    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
+    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   fi
 
@@ -1674,6 +1732,10 @@ osf3* | osf4* | osf5*)
   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   ;;
 
+rdos*)
+  dynamic_linker=no
+  ;;
+
 solaris*)
   version_type=linux
   need_lib_prefix=no
@@ -1779,7 +1841,8 @@ fi
 # _LT_AC_TAGCONFIG
 # ----------------
 AC_DEFUN([_LT_AC_TAGCONFIG],
-[AC_ARG_WITH([tags],
+[AC_REQUIRE([LT_AC_PROG_SED])dnl
+AC_ARG_WITH([tags],
     [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
         [include additional configurations @<:@automatic@:>@])],
     [tagnames="$withval"])
@@ -2040,7 +2103,7 @@ m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
 
 # AC_PATH_TOOL_PREFIX
 # -------------------
-# find a file program which can recognise shared library
+# find a file program which can recognize shared library
 AC_DEFUN([AC_PATH_TOOL_PREFIX],
 [AC_REQUIRE([AC_PROG_EGREP])dnl
 AC_MSG_CHECKING([for $1])
@@ -2103,7 +2166,7 @@ fi
 
 # AC_PATH_MAGIC
 # -------------
-# find a file program which can recognise a shared library
+# find a file program which can recognize a shared library
 AC_DEFUN([AC_PATH_MAGIC],
 [AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
 if test -z "$lt_cv_path_MAGIC_CMD"; then
@@ -2250,7 +2313,7 @@ esac
 # how to check for library dependencies
 #  -- PORTME fill in with the dynamic library characteristics
 AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
-[AC_CACHE_CHECK([how to recognise dependent libraries],
+[AC_CACHE_CHECK([how to recognize dependent libraries],
 lt_cv_deplibs_check_method,
 [lt_cv_file_magic_cmd='$MAGIC_CMD'
 lt_cv_file_magic_test_file=
@@ -2289,9 +2352,15 @@ cygwin*)
 
 mingw* | pw32*)
   # Base MSYS/MinGW do not provide the 'file' command needed by
-  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
-  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
-  lt_cv_file_magic_cmd='$OBJDUMP -f'
+  # func_win32_libid shell function, so use a weaker test based on 'objdump',
+  # unless we find 'file', for example because we are cross-compiling.
+  if ( file / ) >/dev/null 2>&1; then
+    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
+    lt_cv_file_magic_cmd='func_win32_libid'
+  else
+    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
+    lt_cv_file_magic_cmd='$OBJDUMP -f'
+  fi
   ;;
 
 darwin* | rhapsody*)
@@ -2336,7 +2405,7 @@ hpux10.20* | hpux11*)
   esac
   ;;
 
-interix3*)
+interix[[3-9]]*)
   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
   ;;
@@ -2386,6 +2455,10 @@ osf3* | osf4* | osf5*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
+rdos*)
+  lt_cv_deplibs_check_method=pass_all
+  ;;
+
 solaris*)
   lt_cv_deplibs_check_method=pass_all
   ;;
@@ -2438,7 +2511,7 @@ AC_DEFUN([AC_PROG_NM],
   lt_cv_path_NM="$NM"
 else
   lt_nm_to_check="${ac_tool_prefix}nm"
-  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 
+  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
     lt_nm_to_check="$lt_nm_to_check nm"
   fi
   for lt_tmp_nm in $lt_nm_to_check; do


hooks/post-receive
--
frysk system monitor/debugger


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-05 11:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-05 11:50 [SCM] vendor/LIBUNWIND: Import of libunwind version libunwind-20070205 mark

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).