Searched refs:objdump (Results 1 - 27 of 27) sorted by relevance

/linux-4.1.27/scripts/
H A Dcheck_extable.sh9 objdump -hj __ex_table ${obj} 2> /dev/null > /dev/null
14 suspicious_relocs=$(objdump -rj __ex_table ${obj} | tail -n +6 |
32 eval $(objdump -t ${obj} | grep ${1} | sed 's/\([0-9a-f]\+\) .\{7\} \([^ \t]\+\).*/section="\2"; section_offset="0x\1" /')
40 # Extract symbol and offset from the objdump output
54 eval $(objdump -rj .altinstructions ${obj} | grep -B1 "${section}+${section_offset}" | head -n1 | awk '{print $3}' |
71 objdump -hwj ${section} ${obj} | grep -q CODE
114 # objdump will use it instead of giving us a section+offset, so
119 # In this case objdump was presenting us with a reloc to a symbol
133 objdump -hj .debug_info ${obj} 2> /dev/null > /dev/null ||
H A Drecordmcount.pl20 # When parse this object file using 'objdump', the references to the call
96 # 2) Use objdump to find all the call site offsets and sections for
117 print "usage: $P arch endian bits objdump objcopy cc ld nm rm mv is_module inputfile\n";
122 my ($arch, $endian, $bits, $objdump, $objcopy, $cc,
142 $objdump = 'objdump' if (!$objdump);
150 #print STDERR "running: $P '$arch' '$objdump' '$objcopy' '$cc' '$ld' " .
230 $objdump .= " -M x86-64";
240 $objdump .= " -M i386";
293 # In the objdump output there are giblets like:
346 $objdump .= " -Melf-trad".$endian."mips ";
471 open(IN, "$objdump -hdr $inputfile|") || die "error running $objdump";
H A Ddecodecode61 ${CROSS_COMPILE}objdump $OBJDUMPFLAGS -S $1.o | \
H A Dmarkup_oops.pl205 open(FILE, $cross_compile."objdump -dS $filename |") || die "Cannot start objdump";
238 open(FILE, $cross_compile."objdump -dS --adjust-vma=$vmaoffset --start-address=$decodestart --stop-address=$decodestop $filename |") || die "Cannot start objdump";
H A Dobjdiff76 OBJDUMP="${CROSS_COMPILE}objdump"
H A Dnamespace.pl70 my $objdump = ($ENV{'OBJDUMP'} || "objdump") . " -s -j .comment";
238 open(my $objdumpdata, "$objdump $basename|")
239 or die "$objdump $fullname failed $!\n";
/linux-4.1.27/tools/perf/tests/
H A Dcode-reading.c107 ret = snprintf(cmd, sizeof(cmd), fmt, "objdump", addr, addr + len, read_via_objdump()
114 /* Ignore objdump errors */ read_via_objdump()
125 pr_debug("objdump read too few bytes\n"); read_via_objdump()
179 * Converting addresses for use by objdump requires more information. read_object_code()
185 /* objdump struggles with kcore - try each map only once */ read_object_code()
203 /* Read the object code using objdump */ read_object_code()
208 * The kernel maps are inaccurate - assume objdump is right in read_object_code()
218 * objdump cannot handle very large segments read_object_code()
221 pr_debug("objdump failed for kcore"); read_object_code()
236 pr_debug("Bytes read differ from those read by objdump\n"); read_object_code()
239 pr_debug("Bytes read match those read by objdump\n"); read_object_code()
/linux-4.1.27/tools/perf/arch/
H A Dcommon.c147 * We don't need to try to find objdump path for native system. perf_session_env__lookup_binutils_path()
148 * Just use default binutils path (e.g.: "objdump"). perf_session_env__lookup_binutils_path()
213 * the native objdump tool. perf_session_env__lookup_objdump()
218 return perf_session_env__lookup_binutils_path(env, "objdump", perf_session_env__lookup_objdump()
/linux-4.1.27/arch/avr32/
H A DMakefile59 cmd_listing = avr32-linux-objdump $(OBJDUMPFLAGS) -lS $< > $@
61 cmd_disasm = avr32-linux-objdump $(OBJDUMPFLAGS) -d $< > $@
/linux-4.1.27/arch/x86/tools/
H A Dtest_get_len.c36 * Usage: objdump -d a.out | awk -f distill.awk | ./test_get_len
45 fprintf(stderr, "Usage: objdump -d a.out | awk -f distill.awk |" usage()
159 fprintf(stderr, "Warning: objdump says %d bytes, but " main()
/linux-4.1.27/arch/um/kernel/
H A Duml.lds.S14 * invisibly to objdump. So, just make __binary_start equal to the very
/linux-4.1.27/arch/mips/dec/
H A Dwbflush.c7 * mipsel-linux-objdump --disassemble vmunix | grep "wbflush" :-)
/linux-4.1.27/arch/powerpc/include/asm/
H A Dftrace.h10 /* Based off of objdump optput from glibc */
/linux-4.1.27/tools/perf/util/
H A Dmap.c372 * map__rip_2objdump - convert symbol start address to objdump address.
376 * objdump wants/reports absolute IPs for ET_EXEC, and RIPs for ET_DYN.
380 * Return: Address suitable for passing to "objdump --start-address="
394 * map__objdump_2mem - convert objdump address to a memory address.
396 * @ip: objdump address
399 * objdump and converts it to a memory address. Note this assumes that @map
H A Dmap.h98 /* rip/ip <-> addr suitable for passing to `objdump --start-address=` */
101 /* objdump address -> memory address */
H A Dannotate.h98 * @source: source parsed from a disassembler like objdump -dS
H A Dannotate.c787 * symbol__parse_objdump_line() parses objdump output (with -d --no-show-raw)
1045 objdump_path ? objdump_path : "objdump", symbol__annotate()
/linux-4.1.27/arch/powerpc/boot/
H A Dwrapper140 elfformat="`${CROSS}objdump -p "$kernel" | grep 'file format' | awk '{print $4}'`"
338 membase=`${CROSS}objdump -p "$kernel" | grep -m 1 LOAD | awk '{print $7}'`
405 entry=`${CROSS}objdump -f "$ofile" | grep '^start address ' | cut -d' ' -f3`
/linux-4.1.27/arch/x86/realmode/rm/
H A Dtrampoline_64.S22 * If you work on this file, check the object module with objdump
/linux-4.1.27/tools/perf/
H A Dbuiltin-annotate.c323 OPT_STRING(0, "objdump", &objdump_path, "path", cmd_annotate()
324 "objdump binary to use for disassembly and annotations"), cmd_annotate()
H A Dbuiltin-report.c709 OPT_STRING(0, "objdump", &objdump_path, "path", cmd_report()
710 "objdump binary to use for disassembly and annotations"), cmd_report()
H A Dbuiltin-top.c1150 OPT_STRING(0, "objdump", &objdump_path, "path", cmd_top()
1151 "objdump binary to use for disassembly and annotations"), cmd_top()
/linux-4.1.27/arch/ia64/kernel/
H A Dunwind_decoder.c7 * This file is used both by the Linux kernel and objdump. Please keep
/linux-4.1.27/tools/perf/ui/browsers/
H A Dannotate.c954 * as the address in objdump, sigh. symbol__tui_annotate()
/linux-4.1.27/arch/powerpc/kernel/
H A Dentry_64.S1165 /* Taken from output of objdump from lib64/glibc */
1189 /* Taken from output of objdump from lib64/glibc */
/linux-4.1.27/arch/blackfin/kernel/
H A Dtrace.c260 * makes things easier to follow, without running it through objdump
/linux-4.1.27/
H A DMakefile361 OBJDUMP = $(CROSS_COMPILE)objdump

Completed in 848 milliseconds