Uruchomienie, wykonanie: objcopy [options] infile [outfile]
Jak działa OBJCOPY, co robi OBJCOPY: Copy the contents of the input object file to another file, optionally changing the file format in the process (but not the endian-ness). If outfile is not specified, objcopy creates a temporary file and renames it to infile when the copy is complete, destroying the original input file. The GNU Binary File Descriptor (BFD) library is used to read and write the object files
Dostępne opcje, wywołanie OBJCOPY: Add a new section to the output object file with the specified section name and the contents taken from the specified file. Available only for formats that allow arbitrarily named sections. If the output architecture has alternate machine codes, use the nth code instead of the default. Copy only every nth byte. Header data is not affected. The value of n can be from 0 to interleave-1, where interleave is specified by -i (default is 4). This option is useful for creating files to program ROM and is typically used with srec as the output format. Set the output architecture to bfdarch (e.g., i386) for transforming a raw binary file into an object file. Otherwise, this option is ignored. After the conversion, your program can access data inside the created object file by referencing the special symbols _binary_objfile_start, _binary_objfile_end, and _binary_objfile_size. Change the VMA and LMA addresses of all sections, plus the start address, by adding incr. Changing section addresses is not supported by all object formats. Sections are not relocated. For object formats that use a special character (such as an underscore) to begin symbols, change the leading character when converting between formats. If the character is the same in both formats, the option has no effect. Otherwise, it adds, removes, or changes the leading character as appropriate for the output format. Set or change the VMA and LMA addresses of the specified section. With =, set the section address to the specified value; otherwise, add or subtract the value to get the new address. Set or change the LMA address of the specified section. With =, set the section address to the specified value; otherwise, add or subtract the value to get the new address. Set or change the VMA address of the specified section. With =, set the section address to the specified value; otherwise, add or subtract the value to get the new address. Add incr to the start address to get a new start address. Not supported by all object formats. Issue a warning if the section that is specified in one of the options --change-section-address, --change-section-lma, or --change-section-vma does not exist. Convert debugging information if possible. Set the binary format for both input and output files to the binary file descriptor name bfdname. No format translation is done. Use the -h option for a list of supported formats for your system. Do not copy debugging information. Copy only the specified global symbol, making all other symbols local to the file. May be specified multiple times. Fill gaps between sections with the specified value; applies to the load address (LMA) of the sections. Print help information, including a list of supported target object formats, then exit. Copy one out of every interleave bytes. Use -b to set the byte to copy (default is 4). This option is ignored if -b is not specified. Set the binary file format of the input file using its binary file descriptor name, bfdname. Copy only the specified section. May be specified multiple times. Copy only the specified symbol from the source file. May be specified multiple times. Apply the option --keep-global-symbol to each symbol listed in the specified file. The file should have one symbol per line, with comments beginning with a hash mark (#). May be specified multiple times. Apply the option --keep-symbol to each symbol listed in the specified file. The file should have one symbol per line, with comments beginning with a hash mark (#). May be specified multiple times. Make the specified symbol local. May be specified multiple times. Apply the option --localize-symbol to each symbol listed in the specified file. The file should have one symbol per line, with comments beginning with a hash mark (#). May be specified multiple times. Do not copy the specified symbol. May be specified multiple times. Do not issue a warning even if the section specified in one of the options --change-section-address, --change-section-lma, or --change-section-vma does not exist. Set the binary file format of the output file using its binary file descriptor name, bfdname. The format srec generates S-records (printable ASCII versions of object files), and binary generates a raw binary file. Use -h for other available formats. Preserve the input file's access and modification dates in the output file. Pad the output file up to the load address. Use the fill value specified by --gap-fill (default is 0). Do not copy any section with the specified name. May be specified multiple times. Change the name of the symbol old to new. If the first character of a global symbol is a special character (such as an underscore) used by the input object file format, remove it. Unlike --change-leading-char, this option always changes the symbol name when appropriate, regardless of the output object format. Rename a section from oldname to newname, optionally also changing the flags to flags. Do not copy relocation and symbol information. Set flags for the specified section as a comma-separated string of flag names. Not all flags are meaningful for all object formats. The possible flags are alloc, code, contents, data, debug, load, noload, readonly, rom, and share. Set the start address of the new file to the specified value. Not supported by all object formats. Force all srec output records to be type S3 records. Set the maximum length of srec output records to the specified value. The length includes the address, data, and crc fields. Apply the option --strip-symbol to each symbol listed in the specified file. The file should have one symbol per line, with comments beginning with a hash mark (#). May be specified multiple times. Strip all symbols not needed for relocation processing. Run in verbose mode, listing all object files modified; for archives, list all archive members. Print version information and exit. Make the specified symbol weak. May be specified multiple times. Make all global symbols weak. Apply the option --weaken-symbol to each symbol listed in the specified file. The file should have one symbol per line, with comments beginning with a hash mark (#). May be specified multiple times. Do not copy nonglobal symbols. Do not copy compiler-generated local symbols (usually those starting with L or
- Co znaczy :
- Definicja Locate the first available virtual terminal (VT) and run command with any arguments given. If no command is specified, the shell $SHELL is started co znaczy.
- Co znaczy :
- Definicja files to standard output. The default is to dump in octal format, but other formats can be specified. With multiple files, concatenate them in the specified order. If no files are specified or file krzyżówka.
- Co znaczy :
- Definicja about one or more object files. If an archive is specified, objdump displays information on each object file in the archive. At least one of the options -a , -d , -D , -f , -g , -G , -h , -H , -p co to jest.
Użycie OBJCOPY zastosowanie komendy na linii poleceńw Słownik O .