Keil Logo Arm Logo

Using the fromelf Image Converter

--compare=option[,option,...]

--compare=option[,option,...]

This option compares two input files and prints a textual list of the differences. The input files must be the same type, either two ELF files or two library files. Library files are compared member by member and the differences are concatenated in the output.

All differences between the two input files are reported as errors unless specifically downgraded to warnings by using the --relax_section option.

Show/hideSyntax

--compare=option[,option,...]

Where option is one of:

section_sizes

Compares the size of all sections for each ELF file or ELF member of a library file.

section_sizes::object_name

Compares the sizes of all sections in ELF objects with a name matching object_name.

section_sizes::section_name

Compares the sizes of all sections with a name matching section_name.

sections

Compares the size and contents of all sections for each ELF file or ELF member of a library file.

sections::object_name

Compares the size and contents of all sections in ELF objects with a name matching object_name.

sections::section_name

Compares the size and contents of all sections with a name matching section_name.

function_sizes

Compares the size of all functions for each ELF file or ELF member of a library file.

function_sizes::object_name

Compares the size of all functions in ELF objects with a name matching object_name.

function_size::function_name

Compares the size of all functions with a name matching function_name.

global_function_sizes

Compares the size of all global functions for each ELF file or ELF member of a library file.

global_function_sizes::function_name

Compares the size of all global functions in ELF objects with a name matching function_name.

You can:

  • use wildcard characters ? and * for symbolic names in section_name, function_name, and object_name arguments

  • specify multiple options in one --compare option followed by a comma-separated list of arguments.

Copyright © 2008, 2011-2012 ARM. All rights reserved.ARM DUI 0459C
Non-ConfidentialID062912

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.