aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2008-08-12 13:09:09 +0000
committerUlrich Weigand <uweigand@gcc.gnu.org>2008-08-12 13:09:09 +0000
commit4230d0fe3258a221706f791c04683bffb982e4f3 (patch)
tree5edbaf72e3a9ed1de6dfe7e1db82f83482228c29 /gcc
parent359e19d5e946b6b838a9d7c7394cdd8640a29b0d (diff)
downloadgcc-4230d0fe3258a221706f791c04683bffb982e4f3.zip
gcc-4230d0fe3258a221706f791c04683bffb982e4f3.tar.gz
gcc-4230d0fe3258a221706f791c04683bffb982e4f3.tar.bz2
* config/spu/spu.c (spu_safe_dma): Respect TARGET_SAFE_DMA.
From-SVN: r139011
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/spu/spu.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index dfaa93e..42afad2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2008-08-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
+ * config/spu/spu.c (spu_safe_dma): Respect TARGET_SAFE_DMA.
+
+2008-08-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
+
* config/spu/spu.h (DWARF_FRAME_RETURN_COLUMN): Define.
2008-08-12 Jakub Jelinek <jakub@redhat.com>
diff --git a/gcc/config/spu/spu.c b/gcc/config/spu/spu.c
index b40d12c..230f4c0 100644
--- a/gcc/config/spu/spu.c
+++ b/gcc/config/spu/spu.c
@@ -4565,7 +4565,7 @@ spu_restore_stack_block (rtx op0 ATTRIBUTE_UNUSED, rtx op1)
int
spu_safe_dma (HOST_WIDE_INT channel)
{
- return (channel >= 21 && channel <= 27);
+ return TARGET_SAFE_DMA && channel >= 21 && channel <= 27;
}
void