Technical Support
On-Line Manuals
Compiler Reference Guide
Version 6.15
This pragma is a language extension to mark symbols as weak or to define weak aliases of symbols.
In the following example, weak_fn is declared as a weak alias of __weak_fn:
weak_fn
__weak_fn
extern void weak_fn(int a); #pragma weak weak_fn = __weak_fn void __weak_fn(int a) { ... }
Cookie Settings | Terms of Use | Privacy | Accessibility | Trademarks | Contact Us | Feedback
Copyright © 2005-2019 Arm Limited (or its affiliates). All rights reserved.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
Change Settings
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.