aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Elbrecht <snowball3@bigfoot.com>2001-01-03 04:00:53 +0000
committerJeff Law <law@gcc.gnu.org>2001-01-02 21:00:53 -0700
commit19723541bb7fa301ea74b2dfab909ea86f6cfd55 (patch)
tree64e93740a1764abade81fc5dbe42a9e665182b83
parentf30efcb78a1e867cd78017f872dd0c2a1064adfb (diff)
downloadgcc-19723541bb7fa301ea74b2dfab909ea86f6cfd55.zip
gcc-19723541bb7fa301ea74b2dfab909ea86f6cfd55.tar.gz
gcc-19723541bb7fa301ea74b2dfab909ea86f6cfd55.tar.bz2
djgpp.h (DWARF2_DEBUGGING_INFO): Define.
* config/i386/djgpp.h (DWARF2_DEBUGGING_INFO): Define. (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_ASM_OP): Define. (UNALIGNED_SHORT_ASM_OP): Define. (CPP_PREDEFINES): Remove defines for GO32 and DJGPP. From-SVN: r38644
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/i386/djgpp.h17
2 files changed, 23 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index adb0b31..18f76d4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2001-01-02 Mark Elbrecht <snowball3@bigfoot.com>
+
+ * config/i386/djgpp.h (DWARF2_DEBUGGING_INFO): Define.
+ (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_ASM_OP): Define.
+ (UNALIGNED_SHORT_ASM_OP): Define.
+ (CPP_PREDEFINES): Remove defines for GO32 and DJGPP.
+
2001-01-02 Mark Mitchell <mark@codesourcery.com>
* fold-const.c (fold_convert): Fix typo.
diff --git a/gcc/config/i386/djgpp.h b/gcc/config/i386/djgpp.h
index 77606c2..d3c353f 100644
--- a/gcc/config/i386/djgpp.h
+++ b/gcc/config/i386/djgpp.h
@@ -20,6 +20,9 @@ Boston, MA 02111-1307, USA. */
#include "dbxcoff.h"
+/* Support generation of DWARF2 debugging info. */
+#define DWARF2_DEBUGGING_INFO
+
/* Don't assume anything about the header files. */
#define NO_IMPLICIT_EXTERN_C
@@ -75,6 +78,18 @@ Boston, MA 02111-1307, USA. */
#undef TEXT_SECTION_ASM_OP
#define TEXT_SECTION_ASM_OP "\t.section .text"
+/* How to output an unaligned integer. */
+#undef UNALIGNED_INT_ASM_OP
+#define UNALIGNED_INT_ASM_OP "\t.long\t"
+
+/* How to output an unaligned double length integer. */
+#undef UNALIGNED_DOUBLE_INT_ASM_OP
+#define UNALIGNED_DOUBLE_INT_ASM_OP "\t.quad\t"
+
+/* How to output an unaligned half length intenger. */
+#undef UNALIGNED_SHORT_ASM_OP
+#define UNALIGNED_SHORT_ASM_OP "\t.short\t"
+
/* Tell GCC where our standard include directory is. */
#undef STANDARD_INCLUDE_DIR
#define STANDARD_INCLUDE_DIR "/dev/env/DJDIR/include/"
@@ -88,7 +103,7 @@ Boston, MA 02111-1307, USA. */
(((NAME)[0] >= 'A') && ((NAME)[0] <= 'z') && ((NAME)[1] == ':')))
#undef CPP_PREDEFINES
-#define CPP_PREDEFINES "-DGO32 -DDJGPP=2 -D__MSDOS__ -Asystem=msdos"
+#define CPP_PREDEFINES "-D__MSDOS__ -Asystem=msdos"
/* Include <sys/version.h> so __DJGPP__ and __DJGPP_MINOR__ are defined. */
#undef CPP_SPEC