Lines Matching +full:sub +full:- +full:type
8 # Default to the system objdump if a cross-compiler edition not given.
16 'host-objdump=s' => \$hobjdump,
17 'target-objdump=s' => \$tobjdump,
18 'h|host-machine=s' => \$hmachine,
19 't|target-machine=s' => \$tmachine);
22 die "No host or target machine type" if !$hmachine && !$tmachine;
29 # Pre-construct the command-lines for executing the dump.
30 sub mkobjcommand ($$) {
34 return "$cmd -m $mach --disassemble-all -b binary";
40 # Zero-initialize current dumping state.
45 sub objcommand {
48 die "Host machine type not specified" if $inobjd == 1;
49 die "Target machine type not specified" if $inobjd == 2;
56 # Collect the data from the relevant OBJD-* lines ...
57 if (/^OBJD-H: /) {
59 $mem = $mem . pack("H*", substr($_, 8, -1));
61 } elsif (/^OBJD-T: /) {
63 $mem = $mem . pack("H*", substr($_, 8, -1));
75 $cmd = $cmd . " --adjust-vma=" . $vma if $vma;
79 open IN, "-|", $cmd;
93 # The line before "OBJD-*" will be of the form "0x<hex>+: +\n".
94 # Extract the value for passing to --adjust-vma.
95 elsif (/^(0x[0-9a-fA-F]+):\s*$/) {