allow all arm targets to use -mstructure-size-boundary=XX
From-SVN: r30220
This commit is contained in:
parent
a2edce31a6
commit
6ead9ba5a2
@ -1,3 +1,14 @@
|
|||||||
|
Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
|
||||||
|
|
||||||
|
* config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
|
||||||
|
definition.
|
||||||
|
|
||||||
|
* config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
|
||||||
|
definition.
|
||||||
|
|
||||||
|
* config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
|
||||||
|
of the variable arm_structure_size_boundary.
|
||||||
|
|
||||||
Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
|
Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
|
||||||
|
|
||||||
* alias.c (init_alias_analysis): Allocate reg_known_value and
|
* alias.c (init_alias_analysis): Allocate reg_known_value and
|
||||||
|
@ -615,12 +615,15 @@ extern int arm_is_6_or_7;
|
|||||||
(TREE_CODE (EXP) == STRING_CST \
|
(TREE_CODE (EXP) == STRING_CST \
|
||||||
&& (ALIGN) < BITS_PER_WORD ? BITS_PER_WORD : (ALIGN))
|
&& (ALIGN) < BITS_PER_WORD ? BITS_PER_WORD : (ALIGN))
|
||||||
|
|
||||||
/* Every structures size must be a multiple of 32 bits. */
|
/* Setting this to 32 produces more efficient code, but the value set in
|
||||||
/* This is for compatibility with ARMCC. ARM SDT Reference Manual
|
previous versions of this toolchain was 8, which produces more compact
|
||||||
(ARM DUI 0020D) page 2-20 says "Structures are aligned on word
|
structures. The command line option -mstructure_size_boundary=<n> can
|
||||||
boundaries". */
|
be used to change this value, for compatability with the ARM SDK however
|
||||||
|
the value should be left at 32. ARM SDT Reference Manual (ARM DUI 0020D)
|
||||||
|
page 2-20 says "Structures are aligned on word boundaries". */
|
||||||
#ifndef STRUCTURE_SIZE_BOUNDARY
|
#ifndef STRUCTURE_SIZE_BOUNDARY
|
||||||
#define STRUCTURE_SIZE_BOUNDARY 32
|
#define STRUCTURE_SIZE_BOUNDARY arm_structure_size_boundary
|
||||||
|
extern int arm_structure_size_boundary;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Used when parsing command line option -mstructure_size_boundary. */
|
/* Used when parsing command line option -mstructure_size_boundary. */
|
||||||
|
@ -37,15 +37,6 @@ Boston, MA 02111-1307, USA. */
|
|||||||
|
|
||||||
#define MULTILIB_DEFAULTS { "mlittle-endian", "msoft-float", "mapcs-32", "mno-thumb-interwork" }
|
#define MULTILIB_DEFAULTS { "mlittle-endian", "msoft-float", "mapcs-32", "mno-thumb-interwork" }
|
||||||
|
|
||||||
/* Setting this to 32 produces more efficient code, but the value set in previous
|
|
||||||
versions of this toolchain was 8, which produces more compact structures. The
|
|
||||||
command line option -mstructure_size_boundary=<n> can be used to change this
|
|
||||||
value. */
|
|
||||||
#undef STRUCTURE_SIZE_BOUNDARY
|
|
||||||
#define STRUCTURE_SIZE_BOUNDARY arm_structure_size_boundary
|
|
||||||
|
|
||||||
extern int arm_structure_size_boundary;
|
|
||||||
|
|
||||||
/* A C expression whose value is nonzero if IDENTIFIER with arguments ARGS
|
/* A C expression whose value is nonzero if IDENTIFIER with arguments ARGS
|
||||||
is a valid machine specific attribute for DECL.
|
is a valid machine specific attribute for DECL.
|
||||||
The attributes in ATTRIBUTES have previously been assigned to DECL. */
|
The attributes in ATTRIBUTES have previously been assigned to DECL. */
|
||||||
|
@ -172,15 +172,6 @@ Boston, MA 02111-1307, USA. */
|
|||||||
#define MULTILIB_DEFAULTS { "mlittle-endian", "msoft-float", "mapcs-32", "mno-thumb-interwork" }
|
#define MULTILIB_DEFAULTS { "mlittle-endian", "msoft-float", "mapcs-32", "mno-thumb-interwork" }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Setting this to 32 produces more efficient code, but the value set in previous
|
|
||||||
versions of this toolchain was 8, which produces more compact structures. The
|
|
||||||
command line option -mstructure_size_boundary=<n> can be used to change this
|
|
||||||
value. */
|
|
||||||
#undef STRUCTURE_SIZE_BOUNDARY
|
|
||||||
#define STRUCTURE_SIZE_BOUNDARY arm_structure_size_boundary
|
|
||||||
|
|
||||||
extern int arm_structure_size_boundary;
|
|
||||||
|
|
||||||
/* A C expression whose value is nonzero if IDENTIFIER with arguments ARGS
|
/* A C expression whose value is nonzero if IDENTIFIER with arguments ARGS
|
||||||
is a valid machine specific attribute for DECL.
|
is a valid machine specific attribute for DECL.
|
||||||
The attributes in ATTRIBUTES have previously been assigned to DECL. */
|
The attributes in ATTRIBUTES have previously been assigned to DECL. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user