* configure.ac (mips*-*-*linux*, mips*-*-gnu*): Use mt-mips-gnu.

* configure: Regenerate.

config/
	* mt-mips16-compat: New file, taken from mt-mips-elfoabi.
	* mt-mips-elfoabi: Include mt-mips16-compat.
	* mt-mips-gnu: New file.
This commit is contained in:
Richard Sandiford 2008-08-16 06:47:17 +00:00
parent 9258eca9d4
commit 59c5956905
7 changed files with 25 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2008-08-16 Richard Sandiford <rdsandiford@googlemail.com>
* configure.ac (mips*-*-*linux*, mips*-*-gnu*): Use mt-mips-gnu.
* configure: Regenerate.
2008-07-30 Paolo Bonzini <bonzini@gnu.org>
Sync with gcc:

View File

@ -1,3 +1,9 @@
2008-08-16 Richard Sandiford <rdsandiford@googlemail.com>
* mt-mips16-compat: New file, taken from mt-mips-elfoabi.
* mt-mips-elfoabi: Include mt-mips16-compat.
* mt-mips-gnu: New file.
2008-08-03 Alan Modra <amodra@bigpond.net.au>
* mt-spu (all-ld): Update for ld Makefile changes.

View File

@ -1,6 +1 @@
# The *-elfoabi configurations are intended to be usable for both
# MIPS16 and non-MIPS16 code, but the libraries are all non-MIPS16.
# Add -minterlink-mips16 so that the libraries can be used with both
# ISA modes.
CFLAGS_FOR_TARGET += -minterlink-mips16
CXXFLAGS_FOR_TARGET += -minterlink-mips16
include $(srcdir)/config/mt-mips16-compat

2
config/mt-mips-gnu Normal file
View File

@ -0,0 +1,2 @@
include $(srcdir)/config/mt-gnu
include $(srcdir)/config/mt-mips16-compat

5
config/mt-mips16-compat Normal file
View File

@ -0,0 +1,5 @@
# Configurations use this fragment if they support MIPS16 and non-MIPS16 code,
# but if the libraries are all non-MIPS16. Add -minterlink-mips16 so
# that the libraries can be used with both ISA modes.
CFLAGS_FOR_TARGET += -minterlink-mips16
CXXFLAGS_FOR_TARGET += -minterlink-mips16

3
configure vendored
View File

@ -5448,6 +5448,9 @@ case "${target}" in
mipsisa*-*-elfoabi*)
target_makefile_frag="config/mt-mips-elfoabi"
;;
mips*-*-*linux* | mips*-*-gnu*)
target_makefile_frag="config/mt-mips-gnu"
;;
*-*-netware*)
target_makefile_frag="config/mt-netware"
;;

View File

@ -1904,6 +1904,9 @@ case "${target}" in
mipsisa*-*-elfoabi*)
target_makefile_frag="config/mt-mips-elfoabi"
;;
mips*-*-*linux* | mips*-*-gnu*)
target_makefile_frag="config/mt-mips-gnu"
;;
*-*-netware*)
target_makefile_frag="config/mt-netware"
;;