Commit Graph

10 Commits

Author SHA1 Message Date
Carlos Alberto Enciso
720e94b7db Use the _WIN32 macro to identify a WINDOWS specific code.
The macro is automatically defined by the VS C/C++ compiler.
2016-04-21 09:47:04 +01:00
David Anderson
affafa89fb Removed trailing (and useless) whitespace from all the lines
containing it.  Many many files had such.
2014-01-29 15:02:07 -08:00
David Anderson
22cc16439d Update copyright year on a large number of files.
Everthing touched recently.
2012-11-17 13:31:29 -08:00
David Anderson
a406a94877 Merge branch 'carlos_enciso' of ssh://git.code.sf.net/p/libdwarf/code into carlos_enciso
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.
2012-11-14 16:19:01 -08:00
David Anderson
5e1b8c560e dwarf_reloc_mips.h
dwarf_reloc_ppc.h
dwarf_reloc_ppc64.h
dwarf_reloc_x86_64.h
All these now refer to LGPL 2.1 properly.
2012-11-08 14:19:58 -08:00
David Anderson
62f183b7b3 dwarfdump/checkutil.h: Two functions named here are not actually global, hence not appropriate here.
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.
2012-11-08 13:52:49 -08:00
Carlos Alberto Enciso
b3952b7b97 Changes requested by David Anderson and described below.
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).
2012-11-05 11:17:48 +00:00
Carlos Alberto Enciso
3bba034455 Changes requested by David Anderson and described below.
===========
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.  */
2012-11-05 10:26:12 +00:00
Carlos Alberto Enciso
093d86020b Changes done, after David Anderson reviewed the previous modifications. 2012-10-31 12:01:08 +00:00
Carlos Alberto Enciso
f57039e07c Isolate the relocations definitions for the Windows version;
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.
2012-09-26 09:02:40 +01:00