We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6d0317 commit 48452cfCopy full SHA for 48452cf
src/patchelf.cc
@@ -135,12 +135,12 @@ class ElfFile
135
ElfFile * elfFile;
136
bool operator ()(const Elf_Phdr & x, const Elf_Phdr & y)
137
{
138
- // A PHDR comes before everything else.
139
- if (y.p_type == PT_PHDR) return false;
140
- if (x.p_type == PT_PHDR) return true;
+ // A PHDR comes before everything else.
+ if (y.p_type == PT_PHDR) return false;
+ if (x.p_type == PT_PHDR) return true;
141
142
- // Sort non-PHDRs by address.
143
- return elfFile->rdi(x.p_paddr) < elfFile->rdi(y.p_paddr);
+ // Sort non-PHDRs by address.
+ return elfFile->rdi(x.p_paddr) < elfFile->rdi(y.p_paddr);
144
}
145
};
146
0 commit comments