* dwarf2dbg.c (scale_addr_delta): Correct parameter. Move prototype
inside #if.
This commit is contained in:
parent
7a424e9969
commit
c8970b4ba4
2 changed files with 8 additions and 2 deletions
|
@ -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>
|
2002-12-03 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* config/tc-ppc.c (ppc_cleanup): Do not set SEC_MERGE flag on
|
* config/tc-ppc.c (ppc_cleanup): Do not set SEC_MERGE flag on
|
||||||
|
|
|
@ -174,7 +174,6 @@ static void out_debug_line PARAMS ((segT));
|
||||||
static void out_debug_aranges PARAMS ((segT, segT));
|
static void out_debug_aranges PARAMS ((segT, segT));
|
||||||
static void out_debug_abbrev PARAMS ((segT));
|
static void out_debug_abbrev PARAMS ((segT));
|
||||||
static void out_debug_info PARAMS ((segT, segT, 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. */
|
/* 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
|
#if DWARF2_LINE_MIN_INSN_LENGTH > 1
|
||||||
|
static void scale_addr_delta PARAMS ((addressT *));
|
||||||
|
|
||||||
static void
|
static void
|
||||||
scale_addr_delta (addr_delta)
|
scale_addr_delta (addr_delta)
|
||||||
int *addr_delta;
|
addressT *addr_delta;
|
||||||
{
|
{
|
||||||
static int printed_this = 0;
|
static int printed_this = 0;
|
||||||
if (*addr_delta % DWARF2_LINE_MIN_INSN_LENGTH != 0)
|
if (*addr_delta % DWARF2_LINE_MIN_INSN_LENGTH != 0)
|
||||||
|
|
Loading…
Reference in a new issue