commit | bc8f3910c08212b325fda273f01566da8f53c81a | [log] [tgz] |
---|---|---|
author | Alan Modra <amodra@gmail.com> | Tue Nov 15 18:43:43 2022 +1030 |
committer | Alan Modra <amodra@gmail.com> | Wed Nov 16 07:51:24 2022 +1030 |
tree | f84ca5534b4d305b138fcdd785a518bf079e843c | |
parent | 02dbc2b9e76ad0cd452563c3ee7a8b1571eed89b [diff] |
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.