ARM® Compiler fromelf User Guide

Version 6.01


List of Topics

Conventions and feedback
Overview of the fromelf image converter
About the fromelf image converter
fromelf execution modes
Considerations when using fromelf
Getting help on the fromelf command
fromelf command-line syntax
fromelf command-line options listed in groups
Using fromelf
Converting an ELF image to Intel Hex-32 format (32-bit only)
Converting an ELF image to Motorola 32-bit format (32-bit only)
Converting an ELF image to plain binary format
Converting an ELF image to Byte oriented (Verilog Memory Model) hexadecimal format
Controlling debug information in output files
Disassembling an ELF-formatted file
Processing ELF files in an archive
Protecting code in images and objects with fromelf
Printing details of ELF-formatted files
Using fromelf to find where a symbol is placed in an executable ELF image
fromelf command reference
--base [[object_file::]load_region_ID=]num (32-bit only)
--bin
--bincombined
--bincombined_base=address
--bincombined_padding=size,num
--cad
--cadcombined
--compare=option[,option,...]
--continue_on_error
--cpu
--datasymbols
--debugonly
--decode_build_attributes
--diag_error=tag[,tag,...]
--diag_remark=tag[,tag,...]
--diag_style={arm|ide|gnu}
--diag_suppress=tag[,tag,...]
--diag_warning=tag[,tag,...]
--disassemble
--dump_build_attributes
--elf
--emit=option[,option,...]
--expandarrays
--extract_build_attributes
--fieldoffsets
--fpu
--globalize=option[,option,...]
--help
--hide=option[,option,...]
--hide_and_localize=option[,option,...]
--i32 (32-bit only)
--i32combined (32-bit only)
--ignore_section=option[,option,...]
--ignore_symbol=option[,option,...]
--in_place
--info=topic[,topic,...]
input_file
--interleave=option
--linkview, --no_linkview
--localize=option[,option,...]
--m32 (32-bit only)
--m32combined (32-bit only)
--only=section_name
--output=destination
--privacy
--qualify
--relax_section=option[,option,...]
--relax_symbol=option[,option,...]
--rename=option[,option,...]
--select=select_options
--show=option[,option,...]
--show_and_globalize=option[,option,...]
--show_cmdline
--source_directory=path
--strip=option[,option,...]
--symbolversions, --no_symbolversions
--text
--tool_variant
--version_number
--vhx
--via=filename
--vsn
-w
--wide64bit
--widthxbanks
Via File Syntax
Overview of via files
Via file syntax

Proprietary Notice

Words and logos marked with ™ or ® are registered trademarks or trademarks of ARM® in the EU and other countries, except as otherwise stated below in this proprietary notice. Other brands and names mentioned herein may be the trademarks of their respective owners.

Neither the whole nor any part of the information contained in, or the product described in, this document may be adapted or reproduced in any material form except with the prior written permission of the copyright holder.

The product described in this document is subject to continuous developments and improvements. All particulars of the product and its use contained in this document are given by ARM in good faith. However, all warranties implied or expressed, including but not limited to implied warranties of merchantability, or fitness for purpose, are excluded.

This document is intended only to assist the reader in the use of the product. ARM shall not be liable for any loss or damage arising from the use of any information in this document, or any error or omission in such information, or any incorrect use of the product.

Where the term ARM is used it means “ARM or any of its subsidiaries as appropriate”.

Confidentiality Status

This document is Non-Confidential. The right to use, copy and disclose this document may be subject to license restrictions in accordance with the terms of the agreement entered into by ARM and the party that ARM delivered this document to.

Product Status

The information in this document is final, that is for a developed product.

Revision History
Revision A14 March 2014ARM Compiler v6.00 Release
Revision B15 December 2014ARM Compiler v6.01 Release
Copyright © 2014 ARM. All rights reserved.ARM DUI 0805B
Non-ConfidentialID121814