diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-05-16 07:09:52 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-05-16 07:09:52 +0000 |
commit | 139e6b83e05c3574bef583dab14c53bb2854f215 (patch) | |
tree | c765aad5a9e6be9c4da70e004f44d0e3b02b6b7a /gcc/config/i386/linux.h | |
parent | 26dbec0a1e1fd4ef42b2e44d85551616db36d780 (diff) | |
download | gcc-139e6b83e05c3574bef583dab14c53bb2854f215.tar.gz |
PR target/39942
* config/i386/x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Don't emit second
.p2align 3 if MAX_SKIP is smaller than 7.
* config/i386/linux.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147606 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/linux.h')
-rw-r--r-- | gcc/config/i386/linux.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/config/i386/linux.h b/gcc/config/i386/linux.h index 229316867fd..9742b9b5ccf 100644 --- a/gcc/config/i386/linux.h +++ b/gcc/config/i386/linux.h @@ -1,6 +1,6 @@ /* Definitions for Intel 386 running Linux-based GNU systems with ELF format. Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2004, 2005, - 2006, 2007, 2008 Free Software Foundation, Inc. + 2006, 2007, 2008, 2009 Free Software Foundation, Inc. Contributed by Eric Youngdale. Modified for stabs-in-ELF by H.J. Lu. @@ -153,7 +153,9 @@ along with GCC; see the file COPYING3. If not see fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \ /* Make sure that we have at least 8 byte alignment if > 8 byte \ alignment is preferred. */ \ - if ((LOG) > 3 && (1 << (LOG)) > ((MAX_SKIP) + 1)) \ + if ((LOG) > 3 \ + && (1 << (LOG)) > ((MAX_SKIP) + 1) \ + && (MAX_SKIP) >= 7) \ fprintf ((FILE), "\t.p2align 3\n"); \ } \ } \ |