aarch64: libgcc: Cleanup warnings in lse.S

Since
  Commit c608ada288
  Author:     Zac Walker <zacwalker@microsoft.com>
  CommitDate: 2024-01-23 15:32:30 +0000

  Ifdef `.hidden`, `.type`, and `.size` pseudo-ops for `aarch64-w64-mingw32` target

lse.S includes aarch64-asm.h, leading to a conflicting definition of macro 'L':
- in lse.S it expands to either '' or 'L'
- in aarch64-asm.h it is used to generate .L ## label

lse.S does not use the second, so this patch just undefines L after
the inclusion of aarch64-asm.h.

libgcc/
	* config/aarch64/lse.S: Undefine L() macro.
This commit is contained in:
Christophe Lyon 2024-10-03 16:02:17 +00:00
parent 51b85dfeb1
commit e4d417417f

View file

@ -54,6 +54,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include "aarch64-asm.h"
#include "auto-target.h"
/* L is defined in aarch64-asm.h for a different purpose than why we
use it here. */
#undef L
/* Tell the assembler to accept LSE instructions. */
#ifdef HAVE_AS_LSE
.arch armv8-a+lse