Hi Everyone @ the Yocto project,
I'm Shane Peelar, a PhD Candidate at the University of Windsor.
I'm writing to you about prelink-cross, as part of the Yocto project.
Specifically, I'm looking at using it with executables built using
`-fno-plt` under GCC.
I wasn't quite sur
Any of them on the system pretty much, and yes they are also built with
-fno-plt.
On Thu, May 23, 2019 at 9:59 PM Khem Raj wrote:
>
>
> On 5/23/19 8:05 AM, Shane Peelar wrote:
> > Hi Everyone @ the Yocto project,
> >
> > I'm Shane Peelar, a PhD Candidate at th
for the section named ".plt" in the ELF.
4. Assert that the section was found
5. Write the address of .plt + constant (dependent on arch) to got[1]
I tested out making the assert conditional and nothing seemed to break at
least.
On Fri, May 24, 2019 at 12:08 AM Khem Raj wrote:
>
&
Great! Would you be willing to accept a patch that makes arch-x86_64.c
handle that condition like the other arches?
-Shane
On Fri, May 24, 2019 at 12:27 PM Khem Raj wrote:
>
>
> On 5/24/19 8:10 AM, Shane Peelar wrote:
> > I did some reading into the sources in other arch
Patch is attached. Thank you!
On Sat, May 25, 2019 at 2:30 AM Khem Raj wrote:
> On Fri, May 24, 2019 at 6:58 PM Shane Peelar
> wrote:
> >
> > Great! Would you be willing to accept a patch that makes arch-x86_64.c
> handle that condition like the other arches?
Make an assert in arch-x86_64.c a conditional if to handle things the same
way as other arches.
Enables binaries built with -fno-plt to be prelinked.
0001-arch-x86_64.c-Make-assert-conditional.patch
Description: Binary data
--
___
yocto mailing list
yo
elocations: 94
> 128820: final number of relocations from cache: 3
>
> If prelink is working, the number of relocations (relative or otherwise)
> will be
> significantly reduced from the original non-relocated version.
>
> If you can run this test, it would give me the assur
-Mark
>
> On 5/29/19 1:42 PM, Shane Peelar wrote:
> > Hi Mark,
> >
> > Thank you for your reply and no problem -- I chose to benchmark ssh-add
> with
> > it. It contains no `.plt`.
> >
> > The results are as follows:
> >
> > Without prelink