ARM® Compiler fromelf User Guide

Version 5.04

Table of Contents

About this book
Using this book
Typographic conventions
Other information
1 Overview of the fromelf Image Converter
1.1 About the fromelf image converter
1.2 fromelf execution modes
1.3 Getting help on the fromelf command
1.4 fromelf command-line syntax
2 Using fromelf
2.1 General considerations when using fromelf
2.2 Examples of processing ELF files in an archive
2.3 Options to protect code in image files with fromelf
2.4 Options to protect code in object files with fromelf
2.5 Option to print specific details of ELF files
2.6 Using fromelf to find where a symbol is placed in an executable ELF image
3 fromelf Command-line Options
3.1 --base [[object_file::]load_region_ID=]num
3.2 --bin
3.3 --bincombined
3.4 --bincombined_base=address
3.5 --bincombined_padding=size,num
3.6 --cad
3.7 --cadcombined
3.8 --compare=option[,option,…]
3.9 --continue_on_error
3.10 --cpu=list
3.11 --cpu=name
3.12 --datasymbols
3.13 --debugonly
3.14 --decode_build_attributes
3.15 --device=list
3.16 --device=name
3.17 --diag_error=tag[,tag,…]
3.18 --diag_remark=tag[,tag,…]
3.19 --diag_style={arm|ide|gnu}
3.20 --diag_suppress=tag[,tag,…]
3.21 --diag_warning=tag[,tag,…]
3.22 --disassemble
3.23 --dump_build_attributes
3.24 --elf
3.25 --emit=option[,option,…]
3.26 --expandarrays
3.27 --extract_build_attributes
3.28 --fieldoffsets
3.29 --fpu=list
3.30 --fpu=name
3.31 --globalize=option[,option,…]
3.32 --help
3.33 --hide=option[,option,…]
3.34 --hide_and_localize=option[,option,…]
3.35 --i32
3.36 --i32combined
3.37 --ignore_section=option[,option,…]
3.38 --ignore_symbol=option[,option,…]
3.39 --in_place
3.40 --info=topic[,topic,…]
3.41 input_file
3.42 --interleave=option
3.43 --licretry
3.44 --linkview, --no_linkview
3.45 --localize=option[,option,…]
3.46 --m32
3.47 --m32combined
3.48 --only=section_name
3.49 --output=destination
3.50 --privacy
3.51 --qualify
3.52 --relax_section=option[,option,…]
3.53 --relax_symbol=option[,option,…]
3.54 --rename=option[,option,…]
3.55 --select=select_options
3.56 --show=option[,option,…]
3.57 --show_and_globalize=option[,option,…]
3.58 --show_cmdline
3.59 --source_directory=path
3.60 --strip=option[,option,…]
3.61 --symbolversions, --no_symbolversions
3.62 --text
3.63 --version_number
3.64 --vhx
3.65 --via=file
3.66 --vsn
3.67 -w
3.68 --widthxbanks
4 Via File Syntax
4.1 Overview of via files
4.2 Via file syntax rules
A fromelf Document Revisions
A.1 Revisions for fromelf Image Converter User Guide

List of Tables

2-1 Effect of fromelf --privacy and --strip options on images files
2-2 Effect of fromelf --privacy and --strip options on object files
3-1 Examples of using --base
3-2 Supported ARM architectures
A-1 Differences between issue H and issue J
A-2 Differences between issue G and issue H
A-3 Differences between issue F and issue G
A-4 Differences between issue D and issue F
A-5 Differences between Issue C and Issue D
A-6 Differences between Issue A and Issue B

Release Information

Document History
Issue Date Confidentiality Change
A 28 May 2010 Non-Confidential ARM Compiler v4.1 Release
B 30 September 2010 Non-Confidential Update 1 for ARM Compiler v4.1
C 28 January 2011 Non-Confidential Update 2 for ARM Compiler v4.1 Patch 3
D 30 April 2011 Non-Confidential ARM Compiler v5.0 Release
E 29 July 2011 Non-Confidential Update 1 for ARM Compiler v5.0
F 30 September 2011 Non-Confidential ARM Compiler v5.01 Release
G 29 February 2012 Non-Confidential Document update 1 for ARM Compiler v5.01 Release
H 27 July 2012 Non-Confidential ARM Compiler v5.02 Release
I 31 January 2013 Non-Confidential ARM Compiler v5.03 Release
J 27 November 2013 Non-Confidential ARM Compiler v5.04 Release

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.

Unrestricted Access is an ARM internal classification.

Product Status

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

Web Address

Non-ConfidentialPDF file icon PDF versionARM DUI0477J
Copyright © 2010-2013 ARM. All rights reserved.