Keil Logo

--qualify

3.39 --qualify

Modifies the effect of the --fieldoffsets option so that the name of each output symbol includes an indication of the source file containing the relevant structure.

Usage

This enables the --fieldoffsets option to produce functional output even if two source files define different structures with the same name.
If the source file is in a different location from the current location, then the source file path is also included.

Examples

A structure called foo is defined in two headers for example, one.h and two.h.
Using fromelf --fieldoffsets, the linker might define the following symbols:
  • foo.a, foo.b, and foo.c.
  • foo.x, foo.y, and foo.z.
Using fromelf --qualify --fieldoffsets, the linker defines the following symbols:
  • oneh_foo.a, oneh_foo.b and oneh_foo.c.
  • twoh_foo.x, twoh_foo.y and twoh_foo.z.
Related reference
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.