C
dwarfdump/ChangeLog2012
dwarfdump/dwarfdump.1 : tweaks to match what Linux does for new E and Sv.
dwarfdump/dwarfdump.c : Commentary enhancement.
dwarfdump2/checkutil.cc : Make it work properly, as in dwarfdump.
dwarfdump2/checkutil.h : Make it work like dwarfdump version.
dwarfdump2/dwarfdump.1 : tweaks to match what Linux does for E and Sv
dwarfdump2/dwarfdump.cc : To match dwarfdump output.
dwarfdump2/print_die.cc : To match dwarfdump output.
dwarfdump2/print_reloc.cc : To match dwarfdump output.
dwarfdump2/print_reloc.h : now present as in dwarfdump
libdwarf/dwarf.h : fix copyright date
libdwarf/dwarf_reloc_arm.h : fix copyright date
libdwarf/dwarf_reloc_mips.h : fix copyright date
libdwarf/dwarf_reloc_ppc.h : fix copyright date
libdwarf/dwarf_reloc_ppc64.h : fix copyright date
libdwarf/dwarf_reloc_x86_64.h : fix copyright date
libdwarf/libdwarf.h : fix uncommented argument names to be comments.
dwarfdump/dwarfdump.c: #include uri.h so it will compile without error.
dwarfdump/print_reloc.c: Fix printf to be %lx to match argument type.
dwarfdump2/dwarfdump.cc: Using C++ bool here and changing fprintf to cerr.
dwarfdump2/print_die.cc: Obvious trivial changes to get it to compile.
dwarfdump2/print_lines.cc:Obvious trivial changes to get it to comp
ile.
dwarfdump2/tag_tree.cc:#include naming.h
libdwarf/dwarf_elf_access.c: Fix typo in PPC64 #if
libdwarf/dwarf_reloc_arm.h: tweak comments at top.
libdwarf/dwarf_reloc_mips.h: tweak comments at top.
libdwarf/dwarf_reloc_ppc.h: tweak comments at top.
libdwarf/dwarf_reloc_ppc64.h: tweak comments at top.
libdwarf/dwarf_reloc_x86_64.h: tweak comments at top.
For the new relocation header files, update the copyright year and
remove the references to SGI as the files need to be considered in
that any truly new (as opposed to moved from existing libdwarf file).
===========
dwarfdump/print_die.c line 1279, 1280, 1293,1294: The comments
are pretty useless, since we don't use 'errno' here any longer.
Now the comments look random.
===========
print_lines.c, line 69: I don't understand why line_print_pc
controls printing this particular offset value. Maybe you are right
here, but it's not at all obvious why this is the right thing to do.
Or perhaps just add a comment about why condition the output
on line_print_pc for code readers ?
===========
libdwarf/ reloc .h files with defines, the new header files:
delete the $Header: comment line, it is not relevant
for the new header files, and is in fact irrelevant everywhere,
but let's just ignore the irrelevance for the old files.
===========
libdwarf/libdwarf.h line 2951, 2952:
How about the comment revised as follows
/* These make the LEB encoding routines visible to libdwarf
callers. Added November, 2012. */
also the string names for those values have been moved from Dwarfdump
into Libdwarf and put in separate files: dwarf_reloc_xxx.h, where xxx
is one of: arm, mips, ppc, ppc64 and x86_64.