summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/patchelf.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/patchelf.cc b/src/patchelf.cc
index cd46f7e..878e870 100644
--- a/src/patchelf.cc
+++ b/src/patchelf.cc
@@ -135,12 +135,12 @@ private:
ElfFile * elfFile;
bool operator ()(const Elf_Phdr & x, const Elf_Phdr & y)
{
- // A PHDR comes before everything else.
- if (y.p_type == PT_PHDR) return false;
- 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;
- // Sort non-PHDRs by address.
- 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);
}
};