This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
The attached patch implements the changes neccessary to make gcc conform to the ARM EABI. It basically gives the stack and doubleword types doubleword alignment, and changes the default structure alignment to 8. This is enabled by -maapcs. The deafult behaviour is unchanged. I replaced arm_get_frame_size with arm_get_frame_offsets with the aim of concentrating kowledge of the stack layout in one place. This has simplified arm_get_initial_elimination_offsets, but has caused several other fairly neutral changes. I've left these changes in the patch, but can revert to the original method if the churn doesn't seem worthwhile. Tested with cross-compiler to arm-none-elf both -maapcs and -mno-aapcs, and compat tests vs. unmodified compiler. Ok for mainline, and csl-arm-branch assuming it also passes testing there? This patch depends on http://gcc.gnu.org/ml/gcc-patches/2004-02/msg02699.html (sill unreviewed) for correct operation. Paul
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |