https://sourceware.org/bugzilla/show_bug.cgi?id=28793
--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by LifangXia <lifang...@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=cb2562f5530c2f2eb4ca70d70078fa600e3ba983 commit cb2562f5530c2f2eb4ca70d70078fa600e3ba983 Author: Lifang Xia <lifang_...@linux.alibaba.com> Date: Thu Jan 20 10:42:55 2022 +0800 RISC-V: create new frag after alignment. PR 28793: The alignment may be removed in linker. We need to create new frag after alignment to prevent the assembler from computing static offsets. gas/ * config/tc-riscv.c (riscv_frag_align_code): Create new frag. -- You are receiving this mail because: You are on the CC list for the bug.