mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-09 12:04:02 +00:00
Unbreak build for newer GCCs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120205 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f879f14cef
commit
3946e3b476
@ -154,7 +154,7 @@ MachOObject::getLoadCommandInfo(unsigned Index) const {
|
||||
}
|
||||
|
||||
template<>
|
||||
static void SwapStruct(macho::SegmentLoadCommand &Value) {
|
||||
void SwapStruct(macho::SegmentLoadCommand &Value) {
|
||||
SwapValue(Value.Type);
|
||||
SwapValue(Value.Size);
|
||||
SwapValue(Value.VMAddress);
|
||||
@ -172,7 +172,7 @@ void MachOObject::ReadSegmentLoadCommand(const LoadCommandInfo &LCI,
|
||||
}
|
||||
|
||||
template<>
|
||||
static void SwapStruct(macho::Segment64LoadCommand &Value) {
|
||||
void SwapStruct(macho::Segment64LoadCommand &Value) {
|
||||
SwapValue(Value.Type);
|
||||
SwapValue(Value.Size);
|
||||
SwapValue(Value.VMAddress);
|
||||
@ -190,7 +190,7 @@ void MachOObject::ReadSegment64LoadCommand(const LoadCommandInfo &LCI,
|
||||
}
|
||||
|
||||
template<>
|
||||
static void SwapStruct(macho::SymtabLoadCommand &Value) {
|
||||
void SwapStruct(macho::SymtabLoadCommand &Value) {
|
||||
SwapValue(Value.Type);
|
||||
SwapValue(Value.Size);
|
||||
SwapValue(Value.SymbolTableOffset);
|
||||
@ -204,7 +204,7 @@ void MachOObject::ReadSymtabLoadCommand(const LoadCommandInfo &LCI,
|
||||
}
|
||||
|
||||
template<>
|
||||
static void SwapStruct(macho::DysymtabLoadCommand &Value) {
|
||||
void SwapStruct(macho::DysymtabLoadCommand &Value) {
|
||||
SwapValue(Value.Type);
|
||||
SwapValue(Value.Size);
|
||||
SwapValue(Value.LocalSymbolIndex);
|
||||
|
Loading…
x
Reference in New Issue
Block a user