VirtualBox

Changeset 104230 in vbox for trunk/include


Ignore:
Timestamp:
Apr 8, 2024 1:45:54 PM (10 months ago)
Author:
vboxsync
Message:

asmdefs-arm.mac,asmdefs-arm.h: Merge asmdefs-arm.mac into asmdefs-arm.h as the .mac file extension is assoicated with nasm/yasm and it is not expected to include asmdefs-arm.h into non assembly sources, bugref:10391

Location:
trunk/include/iprt
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/asmdefs-arm.h

    r104216 r104230  
    44
    55/*
    6  * Copyright (C) 2023 Oracle and/or its affiliates.
     6 * Copyright (C) 2023-2024 Oracle and/or its affiliates.
    77 *
    88 * This file is part of VirtualBox base platform packages, as
     
    166166
    167167
     168/**
     169 * Starts an externally visible procedure.
     170 *
     171 * @param   a_Name      The unmangled symbol name.
     172 */
     173.macro BEGINPROC, a_Name
     174    .p2align 2
     175    .globl          NAME(\a_Name)
     176NAME(\a_Name):
     177.endm
     178
     179
     180/**
     181 * Starts a procedure with hidden visibility.
     182 *
     183 * @param   a_Name      The unmangled symbol name.
     184 */
     185.macro BEGINPROC_HIDDEN, a_Name
     186    .p2align 2
     187#ifndef ASM_FORMAT_ELF
     188    .private_extern NAME(\a_Name)
     189#else
     190    .hidden         NAME(\a_Name)
     191#endif
     192    .globl          NAME(\a_Name)
     193NAME(\a_Name):
     194.endm
     195
     196
    168197/** @} */
    169198
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette