mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-24 20:44:09 +00:00
Use simpler types. NFC.
llvm-svn: 268133
This commit is contained in:
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…
x
Reference in New Issue
Block a user