2 Copyright 1988-2022 Free Software Foundation, Inc.
3 This is part of the GCC manual.
4 For copying conditions, see the copyright.rst file.
13 These :samp:`-m` options are defined for the H8/300 implementations:
17 Shorten some address references at link time, when possible; uses the
18 linker option :option:`-relax`. See `Using ld <https://sourceware.org/binutils/docs/ld/H8_002f300.html>`_
19 for a fuller description.
23 Generate code for the H8/300H.
27 Generate code for the H8S.
31 Generate code for the H8S and H8/300H in the normal mode. This switch
32 must be used either with :option:`-mh` or :option:`-ms`.
36 Generate code for the H8S/2600. This switch must be used with :option:`-ms`.
40 Extended registers are stored on stack before execution of function
41 with monitor attribute. Default option is :option:`-mexr`.
42 This option is valid only for H8S targets.
46 Extended registers are not stored on stack before execution of function
47 with monitor attribute. Default option is :option:`-mno-exr`.
48 This option is valid only for H8S targets.
52 Default setting; overrides :option:`-mno-exr`.
56 Make ``int`` data 32 bits by default.
58 .. option:: -malign-300
60 On the H8/300H and H8S, use the same alignment rules as for the H8/300.
61 The default for the H8/300H and H8S is to align longs and floats on
63 :option:`-malign-300` causes them to be aligned on 2-byte boundaries.
64 This option has no effect on the H8/300.