File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -41,9 +41,6 @@ class LoongArch final : public TargetInfo {
4141 bool relaxOnce (int pass) const override ;
4242 void relocateAlloc (InputSectionBase &sec, uint8_t *buf) const override ;
4343 void finalizeRelax (int passes) const override ;
44-
45- private:
46- void tlsIeToLe (uint8_t *loc, const Relocation &rel, uint64_t val) const ;
4744};
4845} // end anonymous namespace
4946
@@ -1019,8 +1016,7 @@ static bool relax(Ctx &ctx, InputSection &sec) {
10191016// # otherwise, src = $zero
10201017//
10211018// When relaxation enables, redundant NOPs can be removed.
1022- void LoongArch::tlsIeToLe (uint8_t *loc, const Relocation &rel,
1023- uint64_t val) const {
1019+ static void tlsIeToLe (uint8_t *loc, const Relocation &rel, uint64_t val) {
10241020 assert (isInt<32 >(val) &&
10251021 " val exceeds the range of medium code model in tlsIeToLe" );
10261022
You can’t perform that action at this time.
0 commit comments