aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorVijay L. Khuspe <vijayk1@kpit.com>2002-11-20 04:54:39 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2002-11-20 04:54:39 +0000
commit39ba95b5e120cd3ed103d53b6c491f3cc68ec0e1 (patch)
tree48b4b9a94894735d54b7be63a726ad11028960f4 /gcc/doc
parentdd768f5f255f86bb60893f823b0ffa21ae85890d (diff)
downloadgcc-39ba95b5e120cd3ed103d53b6c491f3cc68ec0e1.zip
gcc-39ba95b5e120cd3ed103d53b6c491f3cc68ec0e1.tar.gz
gcc-39ba95b5e120cd3ed103d53b6c491f3cc68ec0e1.tar.bz2
h8300.c (h8300_init_once): Allow -mn switch only if -mh or -ms present.
* config/h8300/h8300.c (h8300_init_once): Allow -mn switch only if -mh or -ms present. (h8300_eightbit_constant_address_p): Support the normal mode. (h8300_tiny_constant_address_p): Likewise. * config/h8300/h8300.h (TARGET_NORMAL_MODE): New. (POINTER_SIZE): Add 16 bit pointer for the normal mode. (Pmode): Evaluate to HImode for the normal mode. (SIZE_TYPE): Evaluate to unsigned int for normal mode. (PTRDIFF_TYPE): Evaluate to int for the normal mode. (ASM_WORD_OP): Evaluate to word for the normal mode. * config/h8300/h8300.md (tablejump_normal_mode): New. (indirect_jump_normal_mode): New. * config/h8300/t-h8300 (MULTILIB_OPTIONS): Pass -mn option to directory. (MULTILIB_DIRNAMES): Create target dependent directory 'normal'. (MULTILIB_EXCEPTIONS): Don't turn on -mn on H8/300. * doc/invoke.texi (gccoptlist): Describe the new switch -mn. From-SVN: r59285
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/invoke.texi7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 45fee6f..36ca755 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -550,7 +550,7 @@ in the following sections.
@emph{H8/300 Options}
@gccoptlist{
--mrelax -mh -ms -mint32 -malign-300}
+-mrelax -mh -ms -mn -mint32 -malign-300}
@emph{SH Options}
@gccoptlist{
@@ -8632,6 +8632,11 @@ Generate code for the H8/300H@.
@opindex ms
Generate code for the H8S@.
+@item -mn
+@opindex mn
+Generate code for the H8S and H8/300H in the normal mode. This switch
+must be used either with -mh or -ms.
+
@item -ms2600
@opindex ms2600
Generate code for the H8S/2600. This switch must be used with @option{-ms}.