On 07/05/2011 02:13 PM, Thomas Schwinge wrote:
Hallo!

On Tue, 05 Jul 2011 13:52:08 +0200, Rainer Orth<r...@cebitec.uni-bielefeld.de>  
wrote:
Like this?  [...]

Instead of nested cases, I'd rather use one i[34567]86-*-linux* case and
another for the rest, duplicating extra_parts and tmake_file.  Same for
x86_64-*-linux* vs. the rest.

But that's just me.

My idea was to keep the GNU systems' extra_parts and tmake_file stanzas
together.  But it's a bit wishi washi anyway in all these configuration
files, so we might as well use the following patch.

Manually tested as before -- more testing required?

        libgcc/
        config.host: Use i386/linux-unwind.h only for *-*-linux*.

Ok, with changelog entry like

        * config.host (i[34567]86-*-kfreebsd*-gnu,
        i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*,
        i[34567]86-*-kopensolaris*-gnu): Remove md_unwind_header
        by splitting out of...
        (i[34567]86-*-linux*): ... this.
        * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
        Remove md_unwind_header by splitting out of...
        (x86_64-*-linux*): ... this.

Paolo

Reply via email to