]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Merge commit 'origin/pmachata/dwarflint' into dwarf
authorRoland McGrath <roland@redhat.com>
Sat, 10 Jan 2009 08:57:17 +0000 (00:57 -0800)
committerRoland McGrath <roland@redhat.com>
Sat, 10 Jan 2009 08:57:17 +0000 (00:57 -0800)
Conflicts:
src/ChangeLog
src/Makefile.am

1  2 
src/ChangeLog
src/Makefile.am

diff --cc src/ChangeLog
index 0f6b92ae0cc51d8b9033eb5f70d2c66292afbcb0,bc712fc436a31d60ebb076499e1e9a9b7d7236f6..3b73c4f142ebd91762c3ce7662387744a5f731b2
@@@ -1,10 -1,28 +1,35 @@@
 +2009-01-10  Roland McGrath  <roland@redhat.com>
 +
 +      * dwarfcmp.cc: New file.
 +      * Makefile.am (bin_PROGRAMS): Add dwarfcmp.
 +      (dwarfcmp_SOURCES): New variable.
 +      (dwarfcmp_no_Wformat, dwarfcmp_LDADD): New variables.
 +
+ 2009-01-10  Petr Machata  <pmachata@redhat.com>
+       * dwarflint.c: Implement fine-grained message selection.  Each
+       message has a category, which is bitwise OR of category options.
+       There are acceptance and rejection criteria for warnings and
+       errors, which can be tuned using command-line options (currently
+       --strict and --gnu).
+       Use dwarfstrings.h in two messages.
+ 2009-01-10  Petr Machata  <pmachata@redhat.com>
+       * readelf.c: Extract functions that format dwarf enums into a file
+       of its own, so it can be shared with dwarflint.
+       * dwarfstrings.h: That file.
+ 2009-01-09  Petr Machata  <pmachata@redhat.com>
+       * dwarflint.c: Sort the abbrev tables and look up abbreviations
+       with bisect search.
+ 2009-01-09  Petr Machata  <pmachata@redhat.com>
+       * dwarflint.c: Checking for zero padding and unreferenced bytes.
+       CU size and padding at the end of CU are now checked.
  2009-01-07  Ulrich Drepper  <drepper@redhat.com>
  
        * ld.c (ld_new_searchdir): Fix adding to search path list.
diff --cc src/Makefile.am
index 071d7a22a57a3dd54604fc22a1f8966b400b8568,fd678b271df1cb3aac21aefeb2e2b804507870d7..6ac14df90469a278d391a3c8a7b248c1c6aacfe0
@@@ -55,9 -52,8 +55,8 @@@ native_ld = @native_ld
  base_cpu = @base_cpu@
  
  bin_PROGRAMS = readelf nm size strip ld elflint findtextrel addr2line \
 -             elfcmp objdump ranlib strings ar unstrip dwarflint
 -
 +             elfcmp objdump ranlib strings ar unstrip \
-              dwarfcmp
++             dwarflint dwarfcmp
  
  ld_dsos = libld_elf_i386_pic.a
  if NATIVE_LD
@@@ -139,6 -132,6 +137,8 @@@ strings_LDADD = $(libelf) $(libeu) $(li
  ar_LDADD = libar.a $(libelf) $(libeu) $(libmudflap)
  CFLAGS_ar = -DAR=\"$(shell echo ar|sed '$(transform)')\"
  unstrip_LDADD = $(libebl) $(libelf) $(libdw) $(libeu) $(libmudflap) -ldl
++dwarfcmp_LDADD = $(libdw) $(libmudflap) -ldl
++dwarflint_LDADD  = $(libebl) $(libelf) $(libdw) $(libeu) $(libmudflap) -ldl
  
  ldlex.o: ldscript.c
  ldlex_no_Werror = yes