On Tue, Jan 30, 2024 at 6:00 PM Andreas Schwab wrote: > On Jan 29 2024, Nelson Chu wrote: > > > Refer to commit, dff565fcca8137954d6ad571ef39f6aec5c0429c. > Theoretically, > > assembler don't need to generate the pc-relative relocation and the > refered > > local .L symbol when relaxation is disabled. The above commit improved > the > > pcrel_hi/pcrel_lo relocations, and this commit improves branch and jump > > relocations. > > > > Passed the gcc/binutils regressions of riscv-gnu-toolchain. > > > > gas/ > > * config/tc-riscv.c (md_apply_fix): Raise fixP->fx_done for all > > branch and jump relocations when -mno-relax. > > Is this related to PR30591? > Yeah, it seems like the same stuff :) Thanks Nelson