dev-util/ltrace: fix print-instruction-pointer test
authorSergei Trofimovich <slyfox@gentoo.org>
Thu, 4 Oct 2018 23:15:59 +0000 (00:15 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Thu, 4 Oct 2018 23:15:59 +0000 (00:15 +0100)
commitf1e6f1643f65825fbb71126a9aa58050adb9df27
tree4d32e382c7b63ba13bb98a1e018060a04d24db0c
parent395ed52ebd90efd4d603246a150a242ec10578dd
dev-util/ltrace: fix print-instruction-pointer test

print-instruction-pointer occasionally fails when
kernel loads test at address that does not match
last 4 digits of 'objdump' output.

On x86_64 page size is 4096 bytes (0x1000). This gives
only 3 digits of stable address.

The change picks last 3 digits from objdump address.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11
dev-util/ltrace/files/ltrace-0.7.3-print-test-pie.patch [new file with mode: 0644]
dev-util/ltrace/ltrace-0.7.3_p4.ebuild