aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGraham Stott <grahams@redhat.com>2002-01-10 08:59:05 +0000
committerGraham Stott <grahams@gcc.gnu.org>2002-01-10 08:59:05 +0000
commit117f9d2847123445eb38acddecfa94428d3674b6 (patch)
treef94027f057caa35b252ef812fcdb2c7ccfe88ea3 /gcc
parent8fabd4e2138e4f95ec13a4e6394a325f8d23bfb5 (diff)
downloadgcc-117f9d2847123445eb38acddecfa94428d3674b6.zip
gcc-117f9d2847123445eb38acddecfa94428d3674b6.tar.gz
gcc-117f9d2847123445eb38acddecfa94428d3674b6.tar.bz2
dwarf2out.c (indirect_string_alloc, [...]): Move prototype into DWARF2_DEBUGGING_INFO conditional block.
* dwarf2out.c (indirect_string_alloc, output_indirect_string): Move prototype into DWARF2_DEBUGGING_INFO conditional block. From-SVN: r48718
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/dwarf2out.c11
2 files changed, 11 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 951f98d..f33f6ac 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-01-20 Graham Stott <grahams@redhat.com>
+
+ * dwarf2out.c (indirect_string_alloc, output_indirect_string):
+ Move prototype into DWARF2_DEBUGGING_INFO conditional block.
+
2002-01-10 Richard Henderson <rth@redhat.com>
* config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 3c11484..ca56ce1 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -298,11 +298,6 @@ static struct dw_loc_descr_struct *build_cfa_loc
static void def_cfa_1 PARAMS ((const char *,
dw_cfa_location *));
-/* .debug_str support. */
-static hashnode indirect_string_alloc PARAMS ((hash_table *));
-static int output_indirect_string PARAMS ((struct cpp_reader *,
- hashnode, const PTR));
-
/* How to start an assembler comment. */
#ifndef ASM_COMMENT_START
#define ASM_COMMENT_START ";#"
@@ -3046,6 +3041,12 @@ get_cfa_from_loc_descr (cfa, loc)
/* And now, the support for symbolic debugging information. */
#ifdef DWARF2_DEBUGGING_INFO
+/* .debug_str support. */
+static hashnode indirect_string_alloc PARAMS ((hash_table *));
+static int output_indirect_string PARAMS ((struct cpp_reader *,
+ hashnode, const PTR));
+
+
static void dwarf2out_init PARAMS ((const char *));
static void dwarf2out_finish PARAMS ((const char *));
static void dwarf2out_define PARAMS ((unsigned int, const char *));