- Match also ELF pie executable (bsc#1097339)

- Remove trailing space from two match patterns

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=252
This commit is contained in:
Olaf Hering 2018-07-04 05:59:33 +00:00 committed by Git OBS Bridge
parent 8e554ff73e
commit 5d84d5ea8c
3 changed files with 19 additions and 4 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Jul 4 05:58:13 UTC 2018 - olaf@aepfle.de
- Match also ELF pie executable (bsc#1097339)
-------------------------------------------------------------------
Wed Jul 4 05:42:05 UTC 2018 - olaf@aepfle.de
- Remove trailing space from two match patterns
-------------------------------------------------------------------
Tue Jun 26 06:45:38 UTC 2018 - olaf@aepfle.de

View File

@ -21,7 +21,7 @@ Summary: Build Result Compare Script
License: GPL-2.0+
Group: Development/Tools/Building
Url: https://github.com/openSUSE/build-compare
Version: 20180626T183715.37a4b00
Version: 20180704T075846.8f3031d
Release: 0
Source1: COPYING
Source2: same-build-result.sh

View File

@ -824,7 +824,12 @@ check_single_file()
return 1
fi
;;
ELF*executable*|ELF*[LM]SB\ relocatable*|ELF*[LM]SB\ shared\ object*|setuid\ ELF*[LM]SB\ shared\ object*)
ELF*executable*|\
ELF*[LM]SB\ relocatable*|\
ELF*[LM]SB\ shared\ object*|\
setuid\ ELF*[LM]SB\ shared\ object*|\
ELF*[LM]SB\ pie\ executable*|\
setuid\ ELF*[LM]SB\ pie\ executable*)
$OBJDUMP -d --no-show-raw-insn old/$file > $file1
ret=$?
$OBJDUMP -d --no-show-raw-insn new/$file > $file2