diff options
author | dannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-07-20 07:59:09 +0000 |
---|---|---|
committer | dannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-07-20 07:59:09 +0000 |
commit | ec9719e1e3ecb12878c4a187aa57627d7c133c61 (patch) | |
tree | 56a948e6ef167c611eafad7195ae1f57fe4cf699 /gcc/config/i386/cygming.h | |
parent | 3e883b0968ae9c67a36957c7f1651f229a51a4f3 (diff) | |
download | gcc-ec9719e1e3ecb12878c4a187aa57627d7c133c61.tar.gz |
PR target/28427
* config/i386/cygming.h (MAX_OFILE_ALIGNMENT): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115610 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/cygming.h')
-rw-r--r-- | gcc/config/i386/cygming.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/config/i386/cygming.h b/gcc/config/i386/cygming.h index 1fe8e4e3f82..957c02eaf31 100644 --- a/gcc/config/i386/cygming.h +++ b/gcc/config/i386/cygming.h @@ -310,6 +310,16 @@ extern int i386_pe_dllimport_name_p (const char *); #undef BIGGEST_ALIGNMENT #define BIGGEST_ALIGNMENT 128 +/* Biggest alignment supported by the object file format of this + machine. Use this macro to limit the alignment which can be + specified using the `__attribute__ ((aligned (N)))' construct. If + not defined, the default value is `BIGGEST_ALIGNMENT'. */ +#undef MAX_OFILE_ALIGNMENT +/* IMAGE_SCN_ALIGN_8192BYTES is the largest section alignment flag + specified in the PECOFF60 spec. Native MS compiler also limits + user-specified alignment to 8192 bytes. */ +#define MAX_OFILE_ALIGNMENT (8192 * 8) + /* Native complier aligns internal doubles in structures on dword boundaries. */ #undef BIGGEST_FIELD_ALIGNMENT #define BIGGEST_FIELD_ALIGNMENT 64 |