summaryrefslogtreecommitdiffstats
path: root/gcc/dwarfout.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1996-09-22 15:19:49 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1996-09-22 15:19:49 +0000
commitf4612ad1c8a94491a2c0fcab1777b2addcd6c551 (patch)
tree900eec4bb30e523a58cc1ec63ad0fb9a0791adf8 /gcc/dwarfout.c
parentd2b708c01183437b0bcbaad26d9ad9f41c5508b5 (diff)
downloadppe42-gcc-f4612ad1c8a94491a2c0fcab1777b2addcd6c551.tar.gz
ppe42-gcc-f4612ad1c8a94491a2c0fcab1777b2addcd6c551.zip
(DWARF_VERSION): Define as 1 if not already defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12770 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarfout.c')
-rw-r--r--gcc/dwarfout.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/gcc/dwarfout.c b/gcc/dwarfout.c
index a677698f1ac..300badea2c8 100644
--- a/gcc/dwarfout.c
+++ b/gcc/dwarfout.c
@@ -21,8 +21,10 @@ Boston, MA 02111-1307, USA. */
#include "config.h"
-#if defined (DWARF_DEBUGGING_INFO) && (! defined (DWARF_VERSION) \
- || DWARF_VERSION != 2)
+#ifndef DWARF_VERSION
+#define DWARF_VERSION 1
+#endif
+#if defined (DWARF_DEBUGGING_INFO) && (DWARF_VERSION != 2)
#include <stdio.h>
#include "dwarf.h"
#include "tree.h"
@@ -34,10 +36,6 @@ Boston, MA 02111-1307, USA. */
#include "output.h"
#include "defaults.h"
-#ifndef DWARF_VERSION
-#define DWARF_VERSION 1
-#endif
-
/* #define NDEBUG 1 */
#include "assert.h"
@@ -5732,4 +5730,4 @@ dwarfout_finish ()
}
}
-#endif /* DWARF_DEBUGGING_INFO */
+#endif /* DWARF_DEBUGGING_INFO && DWARF_VERSION != 2 */
OpenPOWER on IntegriCloud