Examples (5)
Copy data to another file
objcopy path/to/source_file path/to/target_fileTranslate object files from one format to another
objcopy --input-target=input_format --output-target output_format path/to/source_file path/to/target_fileStrip all symbol information from the file
objcopy --strip-all path/to/source_file path/to/target_fileStrip debugging information from the file
objcopy --strip-debug path/to/source_file path/to/target_fileCopy a specific section from the source file to the destination file
objcopy --only-section section path/to/source_file path/to/target_filemade by @shridhargupta | data from tldr-pages