parent
76945b2f44
commit
aae59561d6
|
@ -1522,7 +1522,7 @@ SymbolTableSection<ELFT>::getOutputSection(SymbolBody *Sym) {
|
|||
template <class ELFT>
|
||||
VersionTableSection<ELFT>::VersionTableSection()
|
||||
: OutputSectionBase<ELFT>(".gnu.version", SHT_GNU_versym, SHF_ALLOC) {
|
||||
this->Header.sh_addralign = sizeof(typename ELFT::Half);
|
||||
this->Header.sh_addralign = sizeof(uint16_t);
|
||||
}
|
||||
|
||||
template <class ELFT> void VersionTableSection<ELFT>::finalize() {
|
||||
|
@ -1547,7 +1547,7 @@ template <class ELFT> void VersionTableSection<ELFT>::writeTo(uint8_t *Buf) {
|
|||
template <class ELFT>
|
||||
VersionNeedSection<ELFT>::VersionNeedSection()
|
||||
: OutputSectionBase<ELFT>(".gnu.version_r", SHT_GNU_verneed, SHF_ALLOC) {
|
||||
this->Header.sh_addralign = sizeof(typename ELFT::Word);
|
||||
this->Header.sh_addralign = sizeof(uint32_t);
|
||||
}
|
||||
|
||||
template <class ELFT>
|
||||
|
|
Loading…
Reference in New Issue