File tree 2 files changed +2
-4
lines changed 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -655,10 +655,8 @@ void GotSection::addConstant(const Relocation &r) { relocations.push_back(r); }
655
655
void GotSection::addEntry (const Symbol &sym) {
656
656
assert (sym.auxIdx == symAux.size () - 1 );
657
657
symAux.back ().gotIdx = numEntries++;
658
- if (sym.hasFlag (NEEDS_GOT_AUTH)) {
659
- assert (config->emachine == EM_AARCH64);
658
+ if (sym.hasFlag (NEEDS_GOT_AUTH))
660
659
authEntries.push_back ({(numEntries - 1 ) * config->wordsize , sym.isFunc ()});
661
- }
662
660
}
663
661
664
662
bool GotSection::addTlsDescEntry (const Symbol &sym) {
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ class GotSection final : public SyntheticSection {
135
135
size_t offset;
136
136
bool isSymbolFunc;
137
137
};
138
- SmallVector<AuthEntryInfo> authEntries;
138
+ SmallVector<AuthEntryInfo, 0 > authEntries;
139
139
};
140
140
141
141
// .note.GNU-stack section.
You can’t perform that action at this time.
0 commit comments