]> git.proxmox.com Git - mirror_edk2.git/blame - ArmPkg/Include/AsmMacroExport.inc
BaseTools/Capsule: Do not support -o with --dump-info
[mirror_edk2.git] / ArmPkg / Include / AsmMacroExport.inc
CommitLineData
dcb2e4bb
EC
1;%HEADER%\r
2;/** @file\r
3; Macros to centralize the EXPORT, AREA, and definition of an assembly\r
4; function. The AREA prefix is required to put the function in its own\r
5; section so that removal of unused functions in the final link is performed.\r
6; This provides equivalent functionality to the compiler's --split-sections\r
7; option.\r
8;\r
9; Copyright (c) 2015 HP Development Company, L.P.\r
10;\r
11; This program and the accompanying materials\r
12; are licensed and made available under the terms and conditions of the BSD License\r
13; which accompanies this distribution. The full text of the license may be found at\r
14; http://opensource.org/licenses/bsd-license.php\r
15;\r
16; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
17; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
18;\r
19;**/\r
20\r
21\r
22 MACRO\r
23 RVCT_ASM_EXPORT $func\r
24 EXPORT $func\r
25 AREA s_$func, CODE, READONLY\r
26$func\r
27 MEND\r
28\r
29 END\r