]> git.ipfire.org Git - thirdparty/gcc.git/commit
Ifdef `.hidden`, `.type`, and `.size` pseudo-ops for `aarch64-w64-mingw32` target
authorZac Walker <zacwalker@microsoft.com>
Tue, 23 Jan 2024 15:32:30 +0000 (15:32 +0000)
committerRichard Sandiford <richard.sandiford@arm.com>
Tue, 23 Jan 2024 15:32:30 +0000 (15:32 +0000)
commitc608ada288ced0268bbbbc1fd4136f56c34b24d4
tree4a7ec888a4c27e21b10b51627dd88907691604fb
parent3936c8709c25c8bc72be0c1b2cc3ae7a25dc90ec
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.
libgcc/config/aarch64/__arm_sme_state.S
libgcc/config/aarch64/__arm_tpidr2_save.S
libgcc/config/aarch64/__arm_za_disable.S
libgcc/config/aarch64/aarch64-asm.h
libgcc/config/aarch64/crti.S
libgcc/config/aarch64/lse.S