diff options
Diffstat (limited to 'meta/recipes-devtools/build-compare/files/Ignore-DWARF-sections.patch')
-rw-r--r-- | meta/recipes-devtools/build-compare/files/Ignore-DWARF-sections.patch | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/meta/recipes-devtools/build-compare/files/Ignore-DWARF-sections.patch b/meta/recipes-devtools/build-compare/files/Ignore-DWARF-sections.patch index 7dda1acbf2..2fb62ae8ce 100644 --- a/meta/recipes-devtools/build-compare/files/Ignore-DWARF-sections.patch +++ b/meta/recipes-devtools/build-compare/files/Ignore-DWARF-sections.patch | |||
@@ -23,18 +23,15 @@ Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com> | |||
23 | 1 file changed, 1 insertion(+), 1 deletion(-) | 23 | 1 file changed, 1 insertion(+), 1 deletion(-) |
24 | 24 | ||
25 | diff --git a/pkg-diff.sh b/pkg-diff.sh | 25 | diff --git a/pkg-diff.sh b/pkg-diff.sh |
26 | index 56035c1..0f1fa76 100755 | 26 | index 9c2125e..b0d77c8 100755 |
27 | --- a/pkg-diff.sh | 27 | --- a/pkg-diff.sh |
28 | +++ b/pkg-diff.sh | 28 | +++ b/pkg-diff.sh |
29 | @@ -658,7 +658,7 @@ check_single_file() | 29 | @@ -851,7 +851,7 @@ check_single_file() |
30 | echo "" >$file1 | 30 | echo "" >$file1 |
31 | echo "" >$file2 | 31 | echo "" >$file2 |
32 | # Don't compare .build-id and .gnu_debuglink sections | 32 | # Don't compare .build-id, .gnu_debuglink and .gnu_debugdata sections |
33 | - sections="$(objdump -s new/$file | grep "Contents of section .*:" | sed -r "s,.* (.*):,\1,g" | grep -v -e "\.build-id" -e "\.gnu_debuglink" | tr "\n" " ")" | 33 | - sections="$($OBJDUMP -s new/$file | grep "Contents of section .*:" | sed -r "s,.* (.*):,\1,g" | grep -v -e "\.build-id" -e "\.gnu_debuglink" -e "\.gnu_debugdata" | tr "\n" " ")" |
34 | + sections="$(objdump -s new/$file | grep "Contents of section .*:" | sed -r "s,.* (.*):,\1,g" | grep -v -e "\.build-id" -e "\.gnu_debuglink" -e "\.debug_abbrev" -e "\.debug_aranges" -e "\.debug_frame" -e "\.debug_info" -e "\.debug_line" -e "\.debug_loc" -e "\.debug_macinfo" -e "\.debug_pubnames" -e "\.debug_pubtypes" -e "\.debug_ranges" -e "\.debug_str" | tr "\n" " ")" | 34 | + sections="$($OBJDUMP -s new/$file | grep "Contents of section .*:" | sed -r "s,.* (.*):,\1,g" | grep -v -e "\.build-id" -e "\.gnu_debuglink" -e "\.gnu_debugdata" -e "\.debug_abbrev" -e "\.debug_aranges" -e "\.debug_frame" -e "\.debug_info" -e "\.debug_line" -e "\.debug_loc" -e "\.debug_macinfo" -e "\.debug_pubnames" -e "\.debug_pubtypes" -e "\.debug_ranges" -e "\.debug_str" | tr "\n" " ")" |
35 | for section in $sections; do | 35 | for section in $sections; do |
36 | objdump -s -j $section old/$file | sed "s,^old/,," > $file1 | 36 | $OBJDUMP -s -j $section old/$file | sed "s,^old/,," > $file1 |
37 | objdump -s -j $section new/$file | sed "s,^new/,," > $file2 | 37 | $OBJDUMP -s -j $section new/$file | sed "s,^new/,," > $file2 |
38 | -- | ||
39 | 1.9.3 | ||
40 | |||