David Miller <da...@davemloft.net> writes:

> It's using "linux.h" instead of "linux-unwind.h" for whatever reason.
>
> So we need something like this?
>
> diff --git a/libgcc/config.host b/libgcc/config.host
> index 24282e1..713b2a9 100644
> --- a/libgcc/config.host
> +++ b/libgcc/config.host
> @@ -600,7 +600,7 @@ sparc-*-elf*)
>  sparc-*-linux*)              # SPARC's running GNU/Linux, libc6
>       extra_parts="$extra_parts crtfastmath.o"
>       tmake_file="${tmake_file} t-crtfm"
> -     md_unwind_header=sparc/linux.h
> +     md_unwind_header=sparc/linux-unwind.h
>       ;;
>  sparc-*-rtems* | sparc64-*-rtems* )
>       tmake_file="sparc/t-elf t-crtin t-crtfm t-rtems"

Of course we do.  I must have been dreaming when writing parts of this
patch.  I've now double-checked all md_unwind_header filenames, found
just another typo, and installed the following as obvious.

Sorry for the mess.

        Rainer


2011-06-09  David S. Miller  <da...@davemloft.net>
            Rainer Orth  <r...@cebitec.uni-bielefeld.de>

        * config.host (sparc-*-linux*): Correct md_unwind_header
        filename.
        (s390x-ibm-tpf*): Fix typo.

Index: libgcc/config.host
===================================================================
--- libgcc/config.host  (revision 174837)
+++ libgcc/config.host  (working copy)
@@ -563,7 +563,7 @@
        ;;
 s390x-ibm-tpf*)
        tmake_file="${tmake_file} s390/t-crtstuff s390/t-tpf"
-       md_unwind_header-s390/tpf-unwind.h
+       md_unwind_header=s390/tpf-unwind.h
        ;;
 score-*-elf)
         ;;
@@ -600,7 +600,7 @@
 sparc-*-linux*)                # SPARC's running GNU/Linux, libc6
        extra_parts="$extra_parts crtfastmath.o"
        tmake_file="${tmake_file} t-crtfm"
-       md_unwind_header=sparc/linux.h
+       md_unwind_header=sparc/linux-unwind.h
        ;;
 sparc-*-rtems* | sparc64-*-rtems* )
        tmake_file="sparc/t-elf t-crtin t-crtfm t-rtems"

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to