Closed GoogleCodeExporter closed 9 years ago
We put GOTPLT and GOT sections together for quick implementation. HJ and I
realize that is a wrong design but works in Android system. In x86 Linux, the
correct design should be as what you mentioned. We should separate GOTPLT
section from the GOT section.
I remember current ELFDynamic section is ready for this separation.
ELFFileFormat, ELFExecFormat and ELFDynObjFormat should add support of GOTPLT
section.
Then, create a new GOTPLT section and add it into segment.
Original comment by LubaTang
on 14 Jun 2012 at 2:26
I'll take care of this.
Original comment by mysekki
on 14 Jun 2012 at 3:29
done at Revision 8f3e5f3b7137. Now mclinker can successfully link itself on
X86-32 without giving the option -z now but with -z relro.
Original comment by mysekki
on 21 Jun 2012 at 2:38
Original issue reported on code.google.com by
pete.c...@gmail.com
on 14 Jun 2012 at 2:15