diff options
author | Alan Modra <amodra@gmail.com> | 2022-11-15 18:43:43 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-11-16 07:51:24 +1030 |
commit | bc8f3910c08212b325fda273f01566da8f53c81a (patch) | |
tree | f84ca5534b4d305b138fcdd785a518bf079e843c /sim/bfin | |
parent | 02dbc2b9e76ad0cd452563c3ee7a8b1571eed89b (diff) | |
download | gdb-bc8f3910c08212b325fda273f01566da8f53c81a.zip gdb-bc8f3910c08212b325fda273f01566da8f53c81a.tar.gz gdb-bc8f3910c08212b325fda273f01566da8f53c81a.tar.bz2 |
aarch64-pe can't fill 16 bytes in section .text
Without commit b66e671854, this:
.p2align 4
nop
.p2align 3
nop
results in an error when coff_frob_section attempts to pad out the
section to a 16-byte boundary. Due to miscalculating the pad pattern
repeat count, write.c:write_contents attempts to shove 16 bytes of
padding into the remaining 4 bytes of the .text section.
* config/obj-coff.c (coff_frob_section): Correct fill count.
Don't pad after errors.
Diffstat (limited to 'sim/bfin')
0 files changed, 0 insertions, 0 deletions