aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKaz Kojima <kkojima@gcc.gnu.org>2010-11-03 22:05:36 +0000
committerKaz Kojima <kkojima@gcc.gnu.org>2010-11-03 22:05:36 +0000
commit9451da7425d50f767912a2126e1681317dec0869 (patch)
tree9aec88301ff5ad7132f36934f49f6c340069f498 /gcc
parent803b9370c01a5d9d023c50171c4bbbb6d6cd15ef (diff)
downloadgcc-9451da7425d50f767912a2126e1681317dec0869.zip
gcc-9451da7425d50f767912a2126e1681317dec0869.tar.gz
gcc-9451da7425d50f767912a2126e1681317dec0869.tar.bz2
config.gcc (sh64*): Add newlib-stdint.h for newlib targets.
* config.gcc (sh64*) <tm_file>: Add newlib-stdint.h for newlib targets. From-SVN: r166279
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config.gcc3
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f6ea181..cff9dd8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2010-11-03 Kaz Kojima <kkojima@gcc.gnu.org>
+ * config.gcc (sh64*) <tm_file>: Add newlib-stdint.h for
+ newlib targets.
+
+2010-11-03 Kaz Kojima <kkojima@gcc.gnu.org>
+
* config/sh/sh.c (sh_expand_prologue): Remove unnecessary
comment. Pass true to the last argument of output_stack_adjust.
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 9b8e0a4..44d7014 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -2322,6 +2322,9 @@ sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \
sh64*)
tmake_file="${tmake_file} sh/t-sh64"
tm_file="${tm_file} sh/sh64.h"
+ if test x$with_newlib = xyes; then
+ tm_file="${tm_file} newlib-stdint.h"
+ fi
extra_headers="shmedia.h ushmedia.h sshmedia.h"
;;
*-*-symbianelf*)