diff options
author | Jan Hubicka <jh@suse.cz> | 2002-02-27 10:40:32 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2002-02-27 09:40:32 +0000 |
commit | 639ae55bd3ea8924ff31212d39b4dbd3998090cd (patch) | |
tree | 812f32b899fdc61e1e5fc17e2e4cef8eb6163a59 /gcc | |
parent | 977c98c2db7f87e54c762596f5055fa644fcffc6 (diff) | |
download | gcc-639ae55bd3ea8924ff31212d39b4dbd3998090cd.zip gcc-639ae55bd3ea8924ff31212d39b4dbd3998090cd.tar.gz gcc-639ae55bd3ea8924ff31212d39b4dbd3998090cd.tar.bz2 |
* linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
From-SVN: r50096
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/i386/linux64.h | 15 |
2 files changed, 19 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ee24ef7..cf3d5af 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Wed Feb 27 10:39:20 CET 2002 Jan Hubicka <jh@suse.cz> + + * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define. + 2002-02-27 Neil Booth <neil@daikokuya.demon.co.uk> * cpplex.c (_cpp_lex_token): Handle directives in macro diff --git a/gcc/config/i386/linux64.h b/gcc/config/i386/linux64.h index 8d70972..b63157e 100644 --- a/gcc/config/i386/linux64.h +++ b/gcc/config/i386/linux64.h @@ -30,6 +30,21 @@ Boston, MA 02111-1307, USA. */ #undef CPP_SPEC #define CPP_SPEC "%(cpp_cpu) %{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} %{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT} %{!m32:-D__LONG_MAX__=9223372036854775807L}" +/* A C statement to output to the stdio stream FILE an assembler + command to advance the location counter to a multiple of 1<<LOG + bytes if it is within MAX_SKIP bytes. + + This is used to align code labels according to Intel recommendations. */ + +#define ASM_OUTPUT_MAX_SKIP_ALIGN(FILE,LOG,MAX_SKIP) \ + do { \ + if ((LOG) != 0) { \ + if ((MAX_SKIP) == 0) fprintf ((FILE), "\t.p2align %d\n", (LOG)); \ + else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \ + } \ + } while (0) +#endif + /* Provide a LINK_SPEC. Here we provide support for the special GCC options -static and -shared, which allow us to link things in one of these three modes by applying the appropriate combinations of |