| Red Hat Documentation |
|
binutils, the GNU binary utilities The following are the binary utilities, although they are not included on all hosts: ar, nm, objcopy, objdump, ranlib, readelf, size, strings, and strip. There are three binary utilities that are for use with Cygwin, the porting layer application for Win32 development: addr2line, windres, and dlltool. For more information on binutils, see Using binutils in GNUPro Utilities. The most important of these utilities are objcopy and objdump.
S-records are suitable both for building ROM images for standalone boards and for downloading images to embedded systems. Use the following example’s input for this process. objcopy -O srec infile outfileinfile in the previous example’s input is the executable binary filename, and outfile is the filename for the S-record. Most PROM burners also read S-records or some similar format. Use the following example’s input to get a list of supported object file types for your architecture. objdump -iFor more information on S-records, see the discussions for FORMAT output-format in MRI compatible script files and the general discussion of BFD in Using ld in GNUPro Utilities. For more discussion of making an executable binary image, see objcopy in Using binutils in GNUPro Utilities. objdump
When specifying archives,
objdump
shows information on each of the member object files. objfile...
are the object files to be examined. See objdump
utility in
Using binutils
in GNUPro Utilities.
|
|
© 2001 Red Hat, Inc. All rights reserved. About Red Hat : Legal statement : Privacy statement : Y2K statement : Contact Red Hat |