From: Roland McGrath Date: Sat, 10 Jan 2009 08:57:17 +0000 (-0800) Subject: Merge commit 'origin/pmachata/dwarflint' into dwarf X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=27cac1b20be5dc519fc367f192a931eb87fbdc13;p=thirdparty%2Felfutils.git Merge commit 'origin/pmachata/dwarflint' into dwarf Conflicts: src/ChangeLog src/Makefile.am --- 27cac1b20be5dc519fc367f192a931eb87fbdc13 diff --cc src/ChangeLog index 0f6b92ae0,bc712fc43..3b73c4f14 --- a/src/ChangeLog +++ b/src/ChangeLog @@@ -1,10 -1,28 +1,35 @@@ +2009-01-10 Roland McGrath + + * 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 + + * 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 + + * 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 + + * dwarflint.c: Sort the abbrev tables and look up abbreviations + with bisect search. + + 2009-01-09 Petr Machata + + * 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 * ld.c (ld_new_searchdir): Fix adding to search path list. diff --cc src/Makefile.am index 071d7a22a,fd678b271..6ac14df90 --- a/src/Makefile.am +++ b/src/Makefile.am @@@ -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