MachO no longer needs contiguous LC_SEGMENT (SourceForge bug 3308161)

This commit is contained in:
John Reiser
2012-10-10 08:51:52 -07:00
parent f890f6bb09
commit d442c58fd1
3 changed files with 64 additions and 15 deletions
+2
View File
@@ -101,6 +101,7 @@ public:
PackLinuxElf32(InputFile *f);
virtual ~PackLinuxElf32();
protected:
void hemfix(Elf32_Phdr *phdr, unsigned n_phdr);
virtual int checkEhdr(Elf32_Ehdr const *ehdr) const;
virtual bool canPack();
@@ -225,6 +226,7 @@ public:
/*virtual void buildLoader(const Filter *);*/
protected:
void hemfix(Elf64_Phdr *phdr, unsigned n_phdr);
virtual int checkEhdr(Elf64_Ehdr const *ehdr) const;
virtual void pack1(OutputFile *, Filter &); // generate executable header