From 392e919f35ad790b21185ab1ce387bb0694cddd9 Mon Sep 17 00:00:00 2001 From: Zac Walker Date: Mon, 14 Nov 2022 17:48:58 +0100 Subject: [PATCH] GAS fix alignment for aarch64-pe --- gas/config/tc-aarch64.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gas/config/tc-aarch64.h b/gas/config/tc-aarch64.h index 2d514ff610..0ea73021f2 100644 --- a/gas/config/tc-aarch64.h +++ b/gas/config/tc-aarch64.h @@ -191,7 +191,10 @@ struct aarch64_frag_type goto LABEL; \ } +/* COFF sub section alignment calculated using the write.c implementation. */ +#ifndef OBJ_COFF #define SUB_SEGMENT_ALIGN(SEG, FRCHAIN) 0 +#endif #define DWARF2_LINE_MIN_INSN_LENGTH 4 -- 2.25.1