Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2007-08-17 17:15:24 +0400
committerRichard Sandiford <rdsandiford@googlemail.com>2007-08-17 17:15:24 +0400
commit2ad518b5a0606b115a4aa9786603b388c74a255a (patch)
tree938baf48443b0aa7f0e1dafdc62b2f289edfb984
parent2b41ef78c2df9e5fe990703b33ec9813de55e380 (diff)
2007-08-17 Richard Sandiford <richard@codesourcery.com>
Nigel Stephens <nigel@mips.com> * config/mt-sde: New file. * configure.ac (mips*-sde-elf*): New stanza. Use config/mt-sde as target_makefile_frag. * configure: Regenerate.
-rw-r--r--ChangeLog8
-rw-r--r--config/mt-sde8
-rwxr-xr-xconfigure3
-rw-r--r--configure.ac3
4 files changed, 22 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6cfa8daf9..abc60eba9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2007-08-17 Richard Sandiford <richard@codesourcery.com>
+ Nigel Stephens <nigel@mips.com>
+
+ * config/mt-sde: New file.
+ * configure.ac (mips*-sde-elf*): New stanza. Use config/mt-sde
+ as target_makefile_frag.
+ * configure: Regenerate.
+
2007-08-16 Alexandre Oliva <aoliva@redhat.com>
* Makefile.def (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS):
diff --git a/config/mt-sde b/config/mt-sde
new file mode 100644
index 000000000..e74616105
--- /dev/null
+++ b/config/mt-sde
@@ -0,0 +1,8 @@
+# We default to building libraries optimised for size. We switch off
+# sibling-call optimization to permit interlinking of MIPS16 and
+# non-MIPS16 functions. The -mcode-xonly option allows MIPS16
+# libraries to run on Harvard-style split I/D memories, so long as
+# they have the D-to-I redirect for pc-relative loads.
+
+CFLAGS_FOR_TARGET = -Os -fno-optimize-sibling-calls -mcode-xonly
+CXXFLAGS_FOR_TARGET = -Os -fno-optimize-sibling-calls -mcode-xonly
diff --git a/configure b/configure
index 7053cb833..efc06ae29 100755
--- a/configure
+++ b/configure
@@ -5224,6 +5224,9 @@ case "${target}" in
spu-*-*)
target_makefile_frag="config/mt-spu"
;;
+ mips*-sde-elf*)
+ target_makefile_frag="config/mt-sde"
+ ;;
*-*-netware*)
target_makefile_frag="config/mt-netware"
;;
diff --git a/configure.ac b/configure.ac
index e9eea64e8..7353fef3a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1748,6 +1748,9 @@ case "${target}" in
spu-*-*)
target_makefile_frag="config/mt-spu"
;;
+ mips*-sde-elf*)
+ target_makefile_frag="config/mt-sde"
+ ;;
*-*-netware*)
target_makefile_frag="config/mt-netware"
;;