On 8/7/07, Jose Flavio Aguilar Paulino <[EMAIL PROTECTED]> wrote:
> ...
>
> GCC compiler for power dont know this mnemonics, this file should be
> local too, no?
>

Thanks for the report Flavio. Could you please try the attached patch?

 -Arun
setcontext.S causes problems with cross compilation.

Signed-off-by: Arun Sharma <[EMAIL PROTECTED]>

diff --git a/src/Makefile.am b/src/Makefile.am
index ac20d7b..07eadf9 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -180,21 +180,21 @@ # The list of files that go both into li
 libunwind_la_SOURCES_x86_64_common = $(libunwind_la_SOURCES_common)    \
        $(dwarf_SOURCES_common)                                         \
        elf64.c elf64.h                                                 \
-       x86_64/setcontext.S                                             \
        x86_64/init.h x86_64/unwind_i.h x86_64/ucontext_i.h             \
-       x86_64/is_fpreg.c x86_64/regname.c
+       x86_64/is_fpreg.c x86_64/regname.c x86_64/offsets.h
 
 # The list of files that go into libunwind:
 libunwind_la_SOURCES_x86_64 = $(libunwind_la_SOURCES_x86_64_common)        \
        $(libunwind_la_SOURCES_local)                                       \
        $(dwarf_SOURCES_local)                                              \
        dwarf/Lfind_proc_info-lsb.c                                         \
+       x86_64/setcontext.S                                             \
        x86_64/Lcreate_addr_space.c x86_64/Lget_save_loc.c x86_64/Lglobal.c \
        x86_64/Linit.c x86_64/Linit_local.c x86_64/Linit_remote.c           \
        x86_64/Lis_signal_frame.c x86_64/Lget_proc_info.c x86_64/Lregs.c    \
        x86_64/Lresume.c x86_64/Lstep.c
 
-# The list of files that go into libunwind:
+# The list of files that go into libunwind-x86_64:
 libunwind_x86_64_la_SOURCES_x86_64 = $(libunwind_la_SOURCES_x86_64_common)  \
        $(libunwind_la_SOURCES_generic)                                     \
        $(dwarf_SOURCES_generic)                                            \
_______________________________________________
Libunwind-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/libunwind-devel

Reply via email to