configure.ac (target_makefile_frag): Set for nios2-*-elf*.

2014-05-14  Sandra Loosemore  <sandra@codesourcery.com>

	* configure.ac (target_makefile_frag): Set for nios2-*-elf*.
	* configure: Regenerated.

	config/
	* mt-nios2-elf: New file.

From-SVN: r210451
This commit is contained in:
Sandra Loosemore 2014-05-14 19:20:59 -04:00 committed by Sandra Loosemore
parent e494d89c37
commit 707f18393a
5 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2014-05-14 Sandra Loosemore <sandra@codesourcery.com>
* configure.ac (target_makefile_frag): Set for nios2-*-elf*.
* configure: Regenerated.
2014-05-15 Torvald Riegel <triegel@redhat.com>
* MAINTAINERS (libitm): Add myself as maintainer.

View File

@ -1,3 +1,7 @@
2014-05-14 Sandra Loosemore <sandra@codesourcery.com>
* mt-nios2-elf: New file.
2014-04-25 Marc Glisse <marc.glisse@inria.fr>
PR target/43538

5
config/mt-nios2-elf Normal file
View File

@ -0,0 +1,5 @@
# We build library code with -mno-gpopt so that it can be linked with
# larger executables with small-data sections that exceed the 16-bit
# offset range for GP-relative addressing.
CFLAGS_FOR_TARGET += -mno-gpopt
CXXFLAGS_FOR_TARGET += -mno-gpopt

3
configure vendored
View File

@ -6992,6 +6992,9 @@ case "${target}" in
mips*-*-*linux* | mips*-*-gnu*)
target_makefile_frag="config/mt-mips-gnu"
;;
nios2-*-elf*)
target_makefile_frag="config/mt-nios2-elf"
;;
*-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
target_makefile_frag="config/mt-gnu"
;;

View File

@ -2370,6 +2370,9 @@ case "${target}" in
mips*-*-*linux* | mips*-*-gnu*)
target_makefile_frag="config/mt-mips-gnu"
;;
nios2-*-elf*)
target_makefile_frag="config/mt-nios2-elf"
;;
*-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
target_makefile_frag="config/mt-gnu"
;;