diff options
author | Zac Walker <zac.walker@linaro.org> | 2022-11-18 08:21:55 +0100 |
---|---|---|
committer | Zac Walker <zac.walker@linaro.org> | 2022-11-18 08:22:47 +0100 |
commit | c963bda81e255dbac7c1acd31121d282a4910308 (patch) | |
tree | cfbd562b85b09d49e4c03be24e08ddc0dd17adfb | |
parent | 69bfd1759db41c8d369f9dcc98a135c5a5d97299 (diff) | |
download | gdb-c963bda81e255dbac7c1acd31121d282a4910308.zip gdb-c963bda81e255dbac7c1acd31121d282a4910308.tar.gz gdb-c963bda81e255dbac7c1acd31121d282a4910308.tar.bz2 |
GAS fix alignment for aarch64-pe
Fixes issue where various values of '.align' causes writing of COFF files to fail.
Specific to the aarch64-pe target.
-rw-r--r-- | gas/config/tc-aarch64.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-aarch64.h b/gas/config/tc-aarch64.h index df73516..7a9a4e7 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 |