Commit 07e15286 by David Edelsohn Committed by David Edelsohn

varasm.c (MAX_OFILE_ALIGNMENT): Move ...

        * varasm.c (MAX_OFILE_ALIGNMENT): Move ...
        * defaults.h (MAX_OFILE_ALIGNMENT): ... here.

From-SVN: r86168
parent ad8c162b
2004-08-18 David Edelsohn <edelsohn@gnu.org>
* varasm.c (MAX_OFILE_ALIGNMENT): Move ...
* defaults.h (MAX_OFILE_ALIGNMENT): ... here.
2004-08-18 Ziemowit Laski <zlaski@apple.com>
* gcc.c (default_compilers): Add info about ".mm", ".M" and ".mii"
......
......@@ -807,4 +807,9 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE!
#define REVERSIBLE_CC_MODE(MODE) 0
#endif
/* Biggest alignment supported by the object file format of this machine. */
#ifndef MAX_OFILE_ALIGNMENT
#define MAX_OFILE_ALIGNMENT BIGGEST_ALIGNMENT
#endif
#endif /* ! GCC_DEFAULTS_H */
......@@ -1534,9 +1534,6 @@ assemble_variable (tree decl, int top_level ATTRIBUTE_UNUSED,
/* Some object file formats have a maximum alignment which they support.
In particular, a.out format supports a maximum alignment of 4. */
#ifndef MAX_OFILE_ALIGNMENT
#define MAX_OFILE_ALIGNMENT BIGGEST_ALIGNMENT
#endif
if (align > MAX_OFILE_ALIGNMENT)
{
warning ("%Jalignment of '%D' is greater than maximum object "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment