This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Snapshot 2000-06-27 failed to build for m68k-coff


Hi!

Snapshot 2000-06-27 failed to build for m68k-coff due to undefined macroses
ASM_OUTPUT_DWARF_ADDR_CONST and ASM_OUTPUT_DWARF_DATA2 in dwarf2out.c. I've
made the following defines for them (not sure that I'm right but at least
it compiles now):

--- dwarf2out.c.orig     Wed Jun 28 15:58:53 2000
+++ dwarf2out.c     Thu Jun 29 09:37:17 2000
@@ -467,6 +467,11 @@
 #define ASM_OUTPUT_DWARF_ADDR(FILE,LABEL) \
   assemble_integer (gen_rtx_SYMBOL_REF (Pmode, LABEL), DWARF2_ADDR_SIZE,
1)

+#ifndef ASM_OUTPUT_DWARF_ADDR_CONST
+#define ASM_OUTPUT_DWARF_ADDR_CONST(FILE,RTX)                    \
+  assemble_integer ((RTX), DWARF2_ADDR_SIZE, 1)
+#endif
+
 #define ASM_OUTPUT_DWARF_OFFSET4(FILE,LABEL) \
   assemble_integer (gen_rtx_SYMBOL_REF (SImode, LABEL), 4, 1)

@@ -493,6 +498,9 @@

 #define ASM_OUTPUT_DWARF_DELTA(FILE,LABEL1,LABEL2) \
   ASM_OUTPUT_DWARF_DELTA4 (FILE,LABEL1,LABEL2)
+
+#define ASM_OUTPUT_DWARF_DATA2(FILE,VALUE) \
+  assemble_integer (GEN_INT (VALUE), 2, 1)

 #define ASM_OUTPUT_DWARF_DATA4(FILE,VALUE) \
   assemble_integer (GEN_INT (VALUE), 4, 1)

--
Alexander Aganichev
Hypercom Europe Limited, Inc.
Software Engineer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]