aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2006-07-20 07:59:09 +0000
committerDanny Smith <dannysmith@gcc.gnu.org>2006-07-20 07:59:09 +0000
commitb0e46dff1cee9a5d1762a4d5387af1272a3cbe82 (patch)
tree56a948e6ef167c611eafad7195ae1f57fe4cf699 /gcc
parent1cba2b96fdcae86d3f313d0c2ab8a0ba74c29440 (diff)
downloadgcc-b0e46dff1cee9a5d1762a4d5387af1272a3cbe82.zip
gcc-b0e46dff1cee9a5d1762a4d5387af1272a3cbe82.tar.gz
gcc-b0e46dff1cee9a5d1762a4d5387af1272a3cbe82.tar.bz2
re PR target/28427 (warning: alignment of '__FUNCTION__' is greater than maximum object file alignment.)
PR target/28427 * config/i386/cygming.h (MAX_OFILE_ALIGNMENT): Define. From-SVN: r115610
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/cygming.h10
2 files changed, 15 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index afdf428..213f3d8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2006-07-21 Danny Smith <dannysmith@users.sourceforge.net>
+
+ PR target/28427
+ * config/i386/cygming.h (MAX_OFILE_ALIGNMENT): Define.
+
2006-07-20 Eric Christopher <echristo@apple.com>
PR target/26877
diff --git a/gcc/config/i386/cygming.h b/gcc/config/i386/cygming.h
index 1fe8e4e..957c02e 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