projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69bfd17
)
GAS fix alignment for aarch64-pe
author
Zac Walker
<zac.walker@linaro.org>
Fri, 18 Nov 2022 07:21:55 +0000
(08:21 +0100)
committer
Zac Walker
<zac.walker@linaro.org>
Fri, 18 Nov 2022 07:22:47 +0000
(08:22 +0100)
Fixes issue where various values of '.align' causes writing of COFF files to fail.
Specific to the aarch64-pe target.
gas/config/tc-aarch64.h
patch
|
blob
|
history
diff --git
a/gas/config/tc-aarch64.h
b/gas/config/tc-aarch64.h
index df73516022f63858c0d997d2e67aa91d9ad69310..7a9a4e77bff6843b9ab206c2efe444fbadf27589 100644
(file)
--- 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