* config/h8300/h8300.c (h8300_init_once): Allow -mn switch
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Nov 2002 04:54:39 +0000 (04:54 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Nov 2002 04:54:39 +0000 (04:54 +0000)
commit35a462ce26ffe7ba18f26ec66cad513ee1fcb6cf
tree48b4b9a94894735d54b7be63a726ad11028960f4
parentf5bc4f057f1fd2b8571f6472c71257cecab9029a
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59285 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/h8300/h8300.c
gcc/config/h8300/h8300.h
gcc/config/h8300/h8300.md
gcc/config/h8300/t-h8300
gcc/doc/invoke.texi