aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-12-04 01:03:05 +0000
committerAlan Modra <amodra@gmail.com>2002-12-04 01:03:05 +0000
commitc8970b4ba48e408d620ec6b17d02f23c95f7f2e5 (patch)
treeff93285648cef817c552fcfa295fcdf1a242bb80 /gas
parent7a424e996978f50490eb0f8ed7142766bfca021e (diff)
downloadgdb-c8970b4ba48e408d620ec6b17d02f23c95f7f2e5.zip
gdb-c8970b4ba48e408d620ec6b17d02f23c95f7f2e5.tar.gz
gdb-c8970b4ba48e408d620ec6b17d02f23c95f7f2e5.tar.bz2
* dwarf2dbg.c (scale_addr_delta): Correct parameter. Move prototype
inside #if.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/dwarf2dbg.c5
2 files changed, 8 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 7c4f230..af5c5f7 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2002-12-04 Alan Modra <amodra@bigpond.net.au>
+
+ * dwarf2dbg.c (scale_addr_delta): Correct parameter. Move prototype
+ inside #if.
+
2002-12-03 Nick Clifton <nickc@redhat.com>
* config/tc-ppc.c (ppc_cleanup): Do not set SEC_MERGE flag on
diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c
index 846213c..0d5c072 100644
--- a/gas/dwarf2dbg.c
+++ b/gas/dwarf2dbg.c
@@ -174,7 +174,6 @@ static void out_debug_line PARAMS ((segT));
static void out_debug_aranges PARAMS ((segT, segT));
static void out_debug_abbrev PARAMS ((segT));
static void out_debug_info PARAMS ((segT, segT, segT));
-static void scale_addr_delta PARAMS ((int *));
/* Find or create an entry for SEG+SUBSEG in ALL_SEGS. */
@@ -598,9 +597,11 @@ out_set_addr (seg, frag, ofs)
}
#if DWARF2_LINE_MIN_INSN_LENGTH > 1
+static void scale_addr_delta PARAMS ((addressT *));
+
static void
scale_addr_delta (addr_delta)
- int *addr_delta;
+ addressT *addr_delta;
{
static int printed_this = 0;
if (*addr_delta % DWARF2_LINE_MIN_INSN_LENGTH != 0)