summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a5771f7)
alignment bigger than the object file can handle.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122275
138bc75d-0d04-0410-961f-
82ee72b054a4
+2007-02-23 DJ Delorie <dj@redhat.com>
+
+ * config/i386/i386.c (ix86_data_alignment): Don't specify an
+ alignment bigger than the object file can handle.
+
2007-02-23 Uros Bizjak <ubizjak@gmail.com>
PR target/30825
2007-02-23 Uros Bizjak <ubizjak@gmail.com>
PR target/30825
int
ix86_data_alignment (tree type, int align)
{
int
ix86_data_alignment (tree type, int align)
{
- int max_align = optimize_size ? BITS_PER_WORD : 256;
+ int max_align = optimize_size ? BITS_PER_WORD : MIN (256, MAX_OFILE_ALIGNMENT);
if (AGGREGATE_TYPE_P (type)
&& TYPE_SIZE (type)
if (AGGREGATE_TYPE_P (type)
&& TYPE_SIZE (type)