File tree 1 file changed +1
-5
lines changed
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 {
41
41
bool relaxOnce (int pass) const override ;
42
42
void relocateAlloc (InputSectionBase &sec, uint8_t *buf) const override ;
43
43
void finalizeRelax (int passes) const override ;
44
-
45
- private:
46
- void tlsIeToLe (uint8_t *loc, const Relocation &rel, uint64_t val) const ;
47
44
};
48
45
} // end anonymous namespace
49
46
@@ -1019,8 +1016,7 @@ static bool relax(Ctx &ctx, InputSection &sec) {
1019
1016
// # otherwise, src = $zero
1020
1017
//
1021
1018
// 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) {
1024
1020
assert (isInt<32 >(val) &&
1025
1021
" val exceeds the range of medium code model in tlsIeToLe" );
1026
1022
You can’t perform that action at this time.
0 commit comments