Ifdef `.hidden`, `.type`, and `.size` pseudo-ops for `aarch64-w64-mingw32` target
Recent change (https://gcc.gnu.org/pipermail/gcc-cvs/2023-December/394915.html) added a generic SME support using `.hidden`, `.type`, and ``.size` pseudo-ops in the assembly sources, `aarch64-w64-mingw32` does not support the pseudo-ops though. This patch wraps usage of those pseudo-ops using macros and ifdefs them for `__ELF__` define. libgcc/ * config/aarch64/aarch64-asm.h (HIDDEN, SYMBOL_SIZE, SYMBOL_TYPE) (ENTRY_ALIGN, GNU_PROPERTY): New macros. * config/aarch64/__arm_sme_state.S: Use them. * config/aarch64/__arm_tpidr2_save.S: Likewise. * config/aarch64/__arm_za_disable.S: Likewise. * config/aarch64/crti.S: Likewise. * config/aarch64/lse.S: Likewise.
Showing
- libgcc/config/aarch64/__arm_sme_state.S 1 addition, 1 deletionlibgcc/config/aarch64/__arm_sme_state.S
- libgcc/config/aarch64/__arm_tpidr2_save.S 2 additions, 2 deletionslibgcc/config/aarch64/__arm_tpidr2_save.S
- libgcc/config/aarch64/__arm_za_disable.S 3 additions, 3 deletionslibgcc/config/aarch64/__arm_za_disable.S
- libgcc/config/aarch64/aarch64-asm.h 12 additions, 2 deletionslibgcc/config/aarch64/aarch64-asm.h
- libgcc/config/aarch64/crti.S 4 additions, 8 deletionslibgcc/config/aarch64/crti.S
- libgcc/config/aarch64/lse.S 5 additions, 4 deletionslibgcc/config/aarch64/lse.S
Loading
Please register or sign in to comment