diff options
| author | Anton Novojilov <[email protected]> | 2014-09-23 22:50:39 +0200 |
|---|---|---|
| committer | Anton Novojilov <[email protected]> | 2014-09-23 22:50:39 +0200 |
| commit | 4b683d980103170aaed8bbd8a2499fce1300fc48 (patch) | |
| tree | 348b771cad00e051d2b8a3e83b3d4082c96a25bb /hemfix | |
| parent | Backported fix from EK goupx (diff) | |
| download | archived-goupx-4b683d980103170aaed8bbd8a2499fce1300fc48.tar.xz archived-goupx-4b683d980103170aaed8bbd8a2499fce1300fc48.zip | |
Backported fix from EK goupx PART2
Diffstat (limited to 'hemfix')
| -rw-r--r-- | hemfix/hemfix.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hemfix/hemfix.go b/hemfix/hemfix.go index 970e4a3..9f91154 100644 --- a/hemfix/hemfix.go +++ b/hemfix/hemfix.go @@ -116,7 +116,7 @@ func fixelf(elf *ELF.File, fd io.ReadWriteSeeker) error { continue } - if p.Off != 0 || p.Flags&ELF.PF_X != ELF.PF_X { + if p.Flags&ELF.PF_X != ELF.PF_X { continue } |