--compare=option[,option,...]
Where option is one of:
section_sizesCompares the size of all sections for each ELF file or ELF member of a library file.
section_sizes::object_nameCompares the sizes of all sections in ELF objects with a name matching object_name.
section_sizes::section_nameCompares the sizes of all sections with a name matching section_name.
sectionsCompares the size and contents of all sections for each ELF file or ELF member of a library file.
sections::object_nameCompares the size and contents of all sections in ELF objects with a name matching object_name.
sections::section_nameCompares the size and contents of all sections with a name matching section_name.
function_sizesCompares the size of all functions for each ELF file or ELF member of a library file.
function_sizes::object_nameCompares the size of all functions in ELF objects with a name matching object_name.
function_size::function_nameCompares the size of all functions with a name matching function_name.
global_function_sizesCompares the size of all global functions for each ELF file or ELF member of a library file.
global_function_sizes::function_nameCompares 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.