llvm-project
69d0078f - MC: Generate relocation for a branch crossing linker-relaxable FT_Align fragment

Commit
273 days ago
MC: Generate relocation for a branch crossing linker-relaxable FT_Align fragment "Encode FT_Align in fragment's variable-size tail" or a neighbor change caused a regression that was similar to the root cause of ab0931b6389838cb5d7d11914063a1ddd84102f0 (See the new test (.text3 with a call at the start")) For a FT_Align fragment, the offset between location A (with offset <= FixedSize) and B (offset == FixedSize+VarSize) cannot be resolved. In addition, delete unneeded condition `F->isLinkerRelaxable()`. LoongArch linker relaxation is largely under-tested, but update it as well.
Author
Parents
Loading