2009-04-17 Andrew Stubbs <ams@codesourcery.com>
commitf555bf81874bc0f896bade655f00cb50b084d4a9
authorams <ams@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Apr 2009 17:32:00 +0000 (17 17:32 +0000)
committerams <ams@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Apr 2009 17:32:00 +0000 (17 17:32 +0000)
treee5d823d53b368f39fae7ffe14b4b80f939df88db
parentc5bfed66bfbea4a9359c5056385dc1536e29e6eb
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146278 138bc75d-0d04-0410-961f-82ee72b054a4
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