configure.ac: Add new AC_SUBST for TM_ENDIAN_CONFIG...
authorAndrew Stubbs <ams@codesourcery.com>
Fri, 17 Apr 2009 17:32:00 +0000 (17:32 +0000)
committerAndrew Stubbs <ams@gcc.gnu.org>
Fri, 17 Apr 2009 17:32:00 +0000 (17:32 +0000)
commitaca600aaf96fc061671829703b50ec8c6acae2c0
treee5d823d53b368f39fae7ffe14b4b80f939df88db
parent105ab5db858d2001b186e9bbc2911f8b2d3aba68
configure.ac: Add new AC_SUBST for TM_ENDIAN_CONFIG...

2009-04-17  Andrew Stubbs  <ams@codesourcery.com>

* configure.ac: Add new AC_SUBST for TM_ENDIAN_CONFIG,
TM_MULTILIB_CONFIG and TM_MULTILIB_EXCEPTIONS_CONFIG.
(--with-multilib-list): Add default value.
* configure: Regenerate.
* Makefile.in (TM_ENDIAN_CONFIG): Define.
(TM_MULTILIB_CONFIG, TM_MULTILIB_EXCEPTIONS_CONFIG): Define.
* config.gcc (sh-*-*): Switch to using TM_ENDIAN_CONFIG,
TM_MULTILIB_CONFIG, and TM_MULTILIB_EXCEPTIONS_CONFIG.
Don't add default cpu to multilib list unnecessarily, but do enable
the relevant compiler option..
Add support for --with-multilib-list=<blank> and
--with-multilib-list=!<somelib> to supress unwanted multilibs.
* config/sh/t-sh (DEFAULT_ENDIAN, OTHER_ENDIAN): New variables.
(MULTILIB_ENDIAN, MULTILIB_CPUS): Delete variables.
(MULTILIB_OPTIONS): Redefine using OTHER_ENDIAN and
TM_MULTILIB_CONFIG.
(MULTILIB_EXCEPTIONS): Add TM_MULTILIB_EXCEPTIONS_CONFIG.
(MULTILIB_OSDIRNAMES): New variable.
* config/sh/t-1e: Delete file.
* config/sh/t-mlib-sh1: Delete file.
* config/sh/t-mlib-sh2: Delete file.
* config/sh/t-mlib-sh2a: Delete file.
* config/sh/t-mlib-sh2a-nofpu: Delete file.
* config/sh/t-mlib-sh2a-single: Delete file.
* config/sh/t-mlib-sh2a-single-only: Delete file.
* config/sh/t-mlib-sh2e: Delete file.
* config/sh/t-mlib-sh3e: Delete file.
* config/sh/t-mlib-sh4: Delete file.
* config/sh/t-mlib-sh4-nofpu: Delete file.
* config/sh/t-mlib-sh4-single: Delete file.
* config/sh/t-mlib-sh4-single-only: Delete file.
* config/sh/t-mlib-sh4a: Delete file.
* config/sh/t-mlib-sh4a-nofpu: Delete file.
* config/sh/t-mlib-sh4a-single: Delete file.
* config/sh/t-mlib-sh4a-single-only: Delete file.
* config/sh/t-mlib-sh4al: Delete file.
* config/sh/t-mlib-sh5-32media: Delete file.
* config/sh/t-mlib-sh5-32media-nofpu: Delete file.
* config/sh/t-mlib-sh5-64media: Delete file.
* config/sh/t-mlib-sh5-64media-nofpu: Delete file.
* config/sh/t-mlib-sh5-compact: Delete file.
* config/sh/t-mlib-sh5-compact-nofpu: Delete file.
* config/sh/t-linux: Don't override MULTILIB_EXCEPTIONS.
* doc/install.texi (Options specification): Add
--with-multilib-list and --with-endian.

From-SVN: r146278
33 files changed:
gcc/ChangeLog
gcc/Makefile.in
gcc/config.gcc
gcc/config/sh/t-1e [deleted file]
gcc/config/sh/t-linux
gcc/config/sh/t-mlib-sh1 [deleted file]
gcc/config/sh/t-mlib-sh2 [deleted file]
gcc/config/sh/t-mlib-sh2a [deleted file]
gcc/config/sh/t-mlib-sh2a-nofpu [deleted file]
gcc/config/sh/t-mlib-sh2a-single [deleted file]
gcc/config/sh/t-mlib-sh2a-single-only [deleted file]
gcc/config/sh/t-mlib-sh2e [deleted file]
gcc/config/sh/t-mlib-sh3 [deleted file]
gcc/config/sh/t-mlib-sh3e [deleted file]
gcc/config/sh/t-mlib-sh4 [deleted file]
gcc/config/sh/t-mlib-sh4-nofpu [deleted file]
gcc/config/sh/t-mlib-sh4-single [deleted file]
gcc/config/sh/t-mlib-sh4-single-only [deleted file]
gcc/config/sh/t-mlib-sh4a [deleted file]
gcc/config/sh/t-mlib-sh4a-nofpu [deleted file]
gcc/config/sh/t-mlib-sh4a-single [deleted file]
gcc/config/sh/t-mlib-sh4a-single-only [deleted file]
gcc/config/sh/t-mlib-sh4al [deleted file]
gcc/config/sh/t-mlib-sh5-32media [deleted file]
gcc/config/sh/t-mlib-sh5-32media-nofpu [deleted file]
gcc/config/sh/t-mlib-sh5-64media [deleted file]
gcc/config/sh/t-mlib-sh5-64media-nofpu [deleted file]
gcc/config/sh/t-mlib-sh5-compact [deleted file]
gcc/config/sh/t-mlib-sh5-compact-nofpu [deleted file]
gcc/config/sh/t-sh
gcc/configure
gcc/configure.ac
gcc/doc/install.texi