mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-26 01:11:08 +08:00
m68kelf.h: Suppress '/* within comment' warning.
* config/m68k/m68kelf.h: Suppress '/* within comment' warning. * config/m68k/m68k.h (MASK_PCREL): Don't use same value as MASK_ALIGN_INT. * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro. (TARGET_STRICT_ALIGNMENT): New macro. (TARGET_SWITCHES): Add "strict-align" and "no-strict-align". (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT. * invoke.texi (M680x0 Options): Document -mstrict-align. Co-Authored-By: Geoff Keating <geoffk@cygnus.com> From-SVN: r30579
This commit is contained in:
parent
2450a05729
commit
b71733d53f
@ -1,3 +1,17 @@
|
|||||||
|
Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
|
||||||
|
Geoffrey Keating <geoffk@cygnus.com>
|
||||||
|
|
||||||
|
* config/m68k/m68kelf.h: Suppress '/* within comment' warning.
|
||||||
|
|
||||||
|
* config/m68k/m68k.h (MASK_PCREL): Don't use same value as
|
||||||
|
MASK_ALIGN_INT.
|
||||||
|
|
||||||
|
* config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
|
||||||
|
(TARGET_STRICT_ALIGNMENT): New macro.
|
||||||
|
(TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
|
||||||
|
(STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
|
||||||
|
* invoke.texi (M680x0 Options): Document -mstrict-align.
|
||||||
|
|
||||||
Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
|
Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
|
||||||
Richard Henderson <rth@cygnus.com>
|
Richard Henderson <rth@cygnus.com>
|
||||||
|
|
||||||
|
@ -132,9 +132,13 @@ extern int target_flags;
|
|||||||
treated as all containing an implicit PC-relative component, and hence
|
treated as all containing an implicit PC-relative component, and hence
|
||||||
cannot be used directly as addresses for memory writes. See the comments
|
cannot be used directly as addresses for memory writes. See the comments
|
||||||
in m68k.c for more information. */
|
in m68k.c for more information. */
|
||||||
#define MASK_PCREL 4096
|
#define MASK_PCREL 8192
|
||||||
#define TARGET_PCREL (target_flags & MASK_PCREL)
|
#define TARGET_PCREL (target_flags & MASK_PCREL)
|
||||||
|
|
||||||
|
/* Relax strict alignment. */
|
||||||
|
#define MASK_NO_STRICT_ALIGNMENT 16384
|
||||||
|
#define TARGET_STRICT_ALIGNMENT (~target_flags & MASK_NO_STRICT_ALIGNMENT)
|
||||||
|
|
||||||
/* Macro to define tables used to set the flags.
|
/* Macro to define tables used to set the flags.
|
||||||
This is a list in braces of pairs in braces,
|
This is a list in braces of pairs in braces,
|
||||||
each pair being { "NAME", VALUE }
|
each pair being { "NAME", VALUE }
|
||||||
@ -194,6 +198,8 @@ extern int target_flags;
|
|||||||
{ "align-int", MASK_ALIGN_INT }, \
|
{ "align-int", MASK_ALIGN_INT }, \
|
||||||
{ "no-align-int", -MASK_ALIGN_INT }, \
|
{ "no-align-int", -MASK_ALIGN_INT }, \
|
||||||
{ "pcrel", MASK_PCREL}, \
|
{ "pcrel", MASK_PCREL}, \
|
||||||
|
{ "strict-align", -MASK_NO_STRICT_ALIGNMENT}, \
|
||||||
|
{ "no-strict-align", MASK_NO_STRICT_ALIGNMENT}, \
|
||||||
SUBTARGET_SWITCHES \
|
SUBTARGET_SWITCHES \
|
||||||
{ "", TARGET_DEFAULT}}
|
{ "", TARGET_DEFAULT}}
|
||||||
/* TARGET_DEFAULT is defined in sun*.h and isi.h, etc. */
|
/* TARGET_DEFAULT is defined in sun*.h and isi.h, etc. */
|
||||||
@ -304,7 +310,7 @@ extern int target_flags;
|
|||||||
|
|
||||||
/* Set this nonzero if move instructions will actually fail to work
|
/* Set this nonzero if move instructions will actually fail to work
|
||||||
when given unaligned data. */
|
when given unaligned data. */
|
||||||
#define STRICT_ALIGNMENT 1
|
#define STRICT_ALIGNMENT (TARGET_STRICT_ALIGNMENT)
|
||||||
|
|
||||||
/* Maximum power of 2 that code can be aligned to. */
|
/* Maximum power of 2 that code can be aligned to. */
|
||||||
#define MAX_CODE_ALIGN 2 /* 4 byte alignment */
|
#define MAX_CODE_ALIGN 2 /* 4 byte alignment */
|
||||||
|
@ -221,7 +221,7 @@ in the following sections.
|
|||||||
-m68000 -m68020 -m68020-40 -m68020-60 -m68030 -m68040
|
-m68000 -m68020 -m68020-40 -m68020-60 -m68030 -m68040
|
||||||
-m68060 -mcpu32 -m5200 -m68881 -mbitfield -mc68000 -mc68020
|
-m68060 -mcpu32 -m5200 -m68881 -mbitfield -mc68000 -mc68020
|
||||||
-mfpa -mnobitfield -mrtd -mshort -msoft-float -mpcrel
|
-mfpa -mnobitfield -mrtd -mshort -msoft-float -mpcrel
|
||||||
-malign-int
|
-malign-int -mstrict-align
|
||||||
|
|
||||||
@emph{VAX Options}
|
@emph{VAX Options}
|
||||||
-mg -mgnu -munix
|
-mg -mgnu -munix
|
||||||
@ -3831,6 +3831,12 @@ allowing at most a 16-bit offset for pc-relative addressing. -fPIC is
|
|||||||
not presently supported with -mpcrel, though this could be supported for
|
not presently supported with -mpcrel, though this could be supported for
|
||||||
68020 and higher processors.
|
68020 and higher processors.
|
||||||
|
|
||||||
|
@item -mno-strict-align
|
||||||
|
@itemx -mstrict-align
|
||||||
|
@kindex -mstrict-align
|
||||||
|
Do not (do) assume that unaligned memory references will be handled by
|
||||||
|
the system.
|
||||||
|
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
@node VAX Options
|
@node VAX Options
|
||||||
|
Loading…
x
Reference in New Issue
Block a user