mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-21 22:53:31 +02:00
Closes: https://bugs.gentoo.org/722606 Closes: https://bugs.gentoo.org/726870 Closes: https://bugs.gentoo.org/742191 Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: David Seifert <soap@gentoo.org>
15 lines
460 B
Diff
15 lines
460 B
Diff
--- a/test/asmdisasm.pl
|
|
+++ b/test/asmdisasm.pl
|
|
@@ -22,10 +22,10 @@
|
|
# uninitialized stuff
|
|
my ($line, $output);
|
|
|
|
-system "as --32 -o $obj_file $asm_file";
|
|
+system "$ENV{AS} --32 -o $obj_file $asm_file";
|
|
exit(1) if ($? != 0);
|
|
|
|
-$output = (grep(/\.text/,`objdump -h $obj_file`))[0];
|
|
+$output = (grep(/\.text/,`$ENV{OBJDUMP} -h $obj_file`))[0];
|
|
$output =~ s/^\s+//g;
|
|
my ($idx,$name,$size,$vma,$lma,$offset,$align)=split(/\s+/,$output);
|
|
$size = hex($size);
|