aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@hxi.com>2000-08-14 14:45:30 +0000
committerJeff Law <law@gcc.gnu.org>2000-08-14 08:45:30 -0600
commit2c54abce9c79f2f56c6a7c90855e980e267a8014 (patch)
tree0f3ecf17281392aea749af7604eada45bbff317d /gcc
parent718fe40625fa164d5a51f9367acc79098bf70f95 (diff)
downloadgcc-2c54abce9c79f2f56c6a7c90855e980e267a8014.zip
gcc-2c54abce9c79f2f56c6a7c90855e980e267a8014.tar.gz
gcc-2c54abce9c79f2f56c6a7c90855e980e267a8014.tar.bz2
invoke.texi (H8/300 Options): Fix typos.
* invoke.texi (H8/300 Options): Fix typos. * config/h8300.c: Fix formatting. * config/h8300.h: Fix comment typos. (OVERRIDE_OPTIONS): Fix formatting. From-SVN: r35677
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/h8300/h8300.c4
-rw-r--r--gcc/config/h8300/h8300.h14
-rw-r--r--gcc/invoke.texi7
4 files changed, 19 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5b66896..62ef21d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2000-08-13 Kazu Hirata <kazu@hxi.com>
+ * invoke.texi (H8/300 Options): Fix typos.
+ * config/h8300.c: Fix formatting.
+ * config/h8300.h: Fix comment typos.
+ (OVERRIDE_OPTIONS): Fix formatting.
+
* function.c: Fix formatting.
* cse.c: Fix formatting.
diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c
index 3e82088..ec1432a 100644
--- a/gcc/config/h8300/h8300.c
+++ b/gcc/config/h8300/h8300.c
@@ -2825,7 +2825,7 @@ emit_a_rotate (code, operands)
insn_buf = rotate_two[rotate_type][rotate_mode];
else
insn_buf = rotate_one[cpu_type][rotate_type][rotate_mode];
-
+
for (; amount >= bits; amount -= bits)
output_asm_insn (insn_buf, operands);
}
@@ -2834,7 +2834,7 @@ emit_a_rotate (code, operands)
}
/* Fix the operands of a gen_xxx so that it could become a bit
- operating insn. */
+ operating insn. */
int
fix_bit_operand (operands, what, type)
diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h
index 17015a1..707fb5c 100644
--- a/gcc/config/h8300/h8300.h
+++ b/gcc/config/h8300/h8300.h
@@ -22,7 +22,7 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-/* Which cpu to compile for.
+/* Which CPU to compile for.
We use int for CPU_TYPE to avoid lots of casts. */
#if 0 /* defined in insn-attr.h, here for documentation */
enum attr_cpu { CPU_H8300, CPU_H8300H };
@@ -135,10 +135,12 @@ extern int target_flags;
/* Do things that must be done once at start up. */
-#define OVERRIDE_OPTIONS \
-do { \
- h8300_init_once (); \
-} while (0)
+#define OVERRIDE_OPTIONS \
+ do \
+ { \
+ h8300_init_once (); \
+ } \
+ while (0)
/* Default target_flags if no switches specified. */
@@ -267,7 +269,7 @@ do { \
Aside from that, you can include as many other registers as you
like.
- h8 destroys r0,r1,r2,r3. */
+ H8 destroys r0,r1,r2,r3. */
#define CALL_USED_REGISTERS \
{ 1, 1, 1, 1, 0, 0, 0, 1, 1, 1 }
diff --git a/gcc/invoke.texi b/gcc/invoke.texi
index 14dd109..d4657a3 100644
--- a/gcc/invoke.texi
+++ b/gcc/invoke.texi
@@ -6632,10 +6632,11 @@ Generate code for the H8/S.
Make @code{int} data 32 bits by default.
@item -malign-300
-On the h8/300h, use the same alignment rules as for the h8/300.
-The default for the h8/300h is to align longs and floats on 4 byte boundaries.
+On the H8/300H and H8/S, use the same alignment rules as for the H8/300.
+The default for the H8/300H and H8/S is to align longs and floats on 4
+byte boundaries.
@samp{-malign-300} causes them to be aligned on 2 byte boundaries.
-This option has no effect on the h8/300.
+This option has no effect on the H8/300.
@end table
@node SH Options