2009-01-22 Roland McGrath <roland@redhat.com>
+ * readelf.c (print_debug_frame_section): Initialize IS_SIGNED to false
+ and reset it only for the 'true' cases.
+
+ * Makefile.am (addr2line_no_Wformat): New variable.
+
* readelf.c (print_debug_frame_section): Use t instead of j formats
for ptrdiff_t OFFSET.
## Process this file with automake to create Makefile.in
##
-## Copyright (C) 1996-2002, 2003, 2004, 2005, 2006, 2007 Red Hat, Inc.
+## Copyright (C) 1996-2002, 2003, 2004, 2005, 2006, 2007, 2009 Red Hat, Inc.
## This file is part of Red Hat elfutils.
##
## Red Hat elfutils is free software; you can redistribute it and/or modify
nm_no_Wformat = yes
size_no_Wformat = yes
strings_no_Wformat = yes
+addr2line_no_Wformat = yes
# XXX While the file is not finished, don't warn about this
ldgeneric_no_Wunused = yes
unsigned int encoding = *readp++;
uint64_t val = 0;
int64_t sval = 0;
- bool is_signed;
+ bool is_signed = false;
switch (encoding & 0xf)
{
case DW_EH_PE_uleb128:
get_uleb128 (val, readp);
- is_signed = false;
break;
case DW_EH_PE_sleb128:
get_sleb128 (sval, readp);
break;
case DW_EH_PE_udata2:
val = read_2ubyte_unaligned_inc (dbg, readp);
- is_signed = false;
break;
case DW_EH_PE_udata4:
val = read_4ubyte_unaligned_inc (dbg, readp);
- is_signed = false;
break;
case DW_EH_PE_udata8:
val = read_8ubyte_unaligned_inc (dbg, readp);
- is_signed = false;
break;
case DW_EH_PE_sdata2:
val = read_2sbyte_unaligned_inc (dbg, readp);