summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/varasm.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index acede3bfc33..f88fec1b49c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2007-09-05 Ben Elliston <bje@au.ibm.com>
+ * varasm.c (initializer_constant_valid_p): Fix comment typo.
+
+2007-09-05 Ben Elliston <bje@au.ibm.com>
+
* config/rs6000/ppu_intrinsics.h (__ldarx): Use `Z' constraint,
not `m' for *ptrp.
(__stdcx): Make asm volatile.
diff --git a/gcc/varasm.c b/gcc/varasm.c
index 29e6649db0a..9dece23fefe 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -4190,7 +4190,7 @@ initializer_constant_valid_p (tree value, tree endtype)
endtype);
tree valid1 = initializer_constant_valid_p (TREE_OPERAND (value, 1),
endtype);
- /* If either term is absolute, use the other terms relocation. */
+ /* If either term is absolute, use the other term's relocation. */
if (valid0 == null_pointer_node)
return valid1;
if (valid1 == null_pointer_node)