aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i386/dgux.h
diff options
context:
space:
mode:
authorStan Cox <coxs@gcc.gnu.org>1996-09-27 16:01:16 +0000
committerStan Cox <coxs@gcc.gnu.org>1996-09-27 16:01:16 +0000
commit7f4503cdc1bfc4c315e1140c22f9f71370015669 (patch)
tree9516f30fd382b5e1c57197f04954577bfc214594 /gcc/config/i386/dgux.h
parented14cc04fb23c068ca9175bceea406a1694af927 (diff)
(CPP_SPEC): Use %[cpp_cpu].
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@12851 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/dgux.h')
-rw-r--r--gcc/config/i386/dgux.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/gcc/config/i386/dgux.h b/gcc/config/i386/dgux.h
index 0b255dad80f..7df0dbff9f0 100644
--- a/gcc/config/i386/dgux.h
+++ b/gcc/config/i386/dgux.h
@@ -26,7 +26,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "i386/sysv4.h"
#ifndef VERSION_INFO2
-#define VERSION_INFO2 "$Revision: 1.2 $"
+#define VERSION_INFO2 "$Revision: 1.3 $"
#endif
#ifndef VERSION_STRING
@@ -268,3 +268,20 @@ char insn; int insn_; char * file_; int line_;
warning ("argument is a structure"),0 : 0), \
(function_arg (&CUM, MODE, TYPE, NAMED)))
+/* This is how to output an assembler line
+ that says to advance the location counter
+ to a multiple of 2**LOG bytes. */
+
+#undef ASM_OUTPUT_ALIGN
+#define ASM_OUTPUT_ALIGN(FILE,LOG) \
+ if (LOG <= 2) \
+ fprintf ((FILE), "\t.align %d\n", 1<<(LOG));\
+ else if ((LOG)!=0) \
+ { \
+ char buf[256]; \
+ if (!backalign_labelno) fprintf ((FILE), "\t.align %d\n", 1); \
+ ASM_GENERATE_INTERNAL_LABEL (buf, "LBA", backalign_labelno++); \
+ fprintf ((FILE), "%s:", &buf[1]); \
+ fprintf ((FILE), "\t.backalign %s,%d,%d\n", &buf[1], 1<<(LOG), \
+ ((TARGET_PENTIUMPRO || TARGET_486) && LOG==4) ? 6 : 2);\
+ }