From 4b683d980103170aaed8bbd8a2499fce1300fc48 Mon Sep 17 00:00:00 2001 From: Anton Novojilov Date: Tue, 23 Sep 2014 22:50:39 +0200 Subject: Backported fix from EK goupx PART2 --- hemfix/hemfix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- cgit v1.2.3