diff options
author | Catherine Moore <clm@cygnus.com> | 1998-06-01 14:25:44 +0000 |
---|---|---|
committer | Catherine Moore <clm@gcc.gnu.org> | 1998-06-01 10:25:44 -0400 |
commit | 44ec7e59cc237149d055849fd2c15c0b3731a387 (patch) | |
tree | db2e747fec22d4d15c8830aba6767b3bd7a130b7 /gcc/varasm.c | |
parent | 3d9bd4e31d6dcde01209dc0b2c21e6bce909f51d (diff) | |
download | gcc-44ec7e59cc237149d055849fd2c15c0b3731a387.zip gcc-44ec7e59cc237149d055849fd2c15c0b3731a387.tar.gz gcc-44ec7e59cc237149d055849fd2c15c0b3731a387.tar.bz2 |
sh.h (MAX_OFILE_ALIGNMENT): Define.
* config/sh/sh.h (MAX_OFILE_ALIGNMENT): Define.
* varasm.c (assemble_variable): Augment alignment warning.
From-SVN: r20173
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r-- | gcc/varasm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c index 9951a50..3a37573 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -1284,7 +1284,8 @@ assemble_variable (decl, top_level, at_end, dont_output_data) if (align > MAX_OFILE_ALIGNMENT) { warning_with_decl (decl, - "alignment of `%s' is greater than maximum object file alignment"); + "alignment of `%s' is greater than maximum object file alignment. Using %d.", + MAX_OFILE_ALIGNMENT/BITS_PER_UNIT); align = MAX_OFILE_ALIGNMENT; } |