Keil Logo

--extract_build_attributes

3.22 --extract_build_attributes

Prints only the build attributes in a form that depends on the type of attribute.

Usage

Prints the build attributes in:
  • Human-readable form for standard build attributes.
  • Raw hexadecimal form for nonstandard build attributes.

Restrictions

You can use this option only in text mode.

Example

The following example shows the output for --extract_build_attributes:
> armcc -c --cpu=cortex-m7 --fpu=vfpv2 hello.c -o hello.o
> fromelf --extract_build_attributes hello.o

========================================================================

** Object/Image Build Attributes

    'aeabi' file build attributes:
    0x000000:   43 32 2e 30 36 00 05 43 6f 72 74 65 78 2d 4d 37    C2.06..Cortex-M7
    0x000010:   00 06 0d 07 4d 09 02 0a 02 11 01 12 02 17 01 18    ....M...........
    0x000020:   01 19 01 1a 01 1c 01 1e 03 22 01                   .........".
        Tag_conformance = "2.06"
        Tag_CPU_name = "Cortex-M7"
        Tag_CPU_arch = ARM v7E-M (=13)
        Tag_CPU_arch_profile = The microcontroller profile 'M' (e.g. for Cortex M3) (=77)
        Tag_THUMB_ISA_use = Thumb2 instructions were permitted (implies Thumb instructions permitted) (=2)
        Tag_VFP_arch = VFPv2 instructions were permitted (implies VFPv1 instructions were permitted) (=2)
        Tag_ABI_PCS_GOT_use = Data are imported directly (=1)
        Tag_ABI_PCS_wchar_t = Size of wchar_t is 2 (=2)
        Tag_ABI_FP_number_model = This code was permitted to use only IEEE 754 format FP numbers (=1)
        Tag_ABI_align8_needed = Code was permitted to depend on the 8-byte alignment of 8-byte data items (=1)
        Tag_ABI_align8_preserved = Code was required to preserve 8-byte alignment of 8-byte data objects (=1)
        Tag_ABI_enum_size = Enum values occupy the smallest container big enough to hold all values (=1)
        Tag_ABI_VFP_args = FP parameter/result passing conforms to the VFP variant of the AAPCS (=1)
        Tag_ABI_optimization_goals = Optimized for small size, but speed and debugging illusion preserved (=3)
        Tag_CPU_unaligned_access = The producer was permitted to generate architecture v6-style unaligned data accesses (=1)

    'ARM' file build attributes:
    0x000000:   12 01 14 09                                        ....
Non-ConfidentialPDF file icon PDF versionARM DUI0459G
Copyright © 2008, 2011, 2012, 2014-2016 ARM. All rights reserved. 
  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.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.