Re: [yocto] prelink-cross with -fno-plt

2019-06-02 Thread Shane Peelar
-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

Re: [yocto] prelink-cross with -fno-plt

2019-05-29 Thread Shane Peelar
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

[yocto] [prelink-cross][PATCH] Enable prelink-cross to work on binaries built with -fno-plt

2019-05-28 Thread Shane Peelar
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

Re: [yocto] prelink-cross with -fno-plt

2019-05-25 Thread Shane Peelar
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?

Re: [yocto] prelink-cross with -fno-plt

2019-05-24 Thread Shane Peelar
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

Re: [yocto] prelink-cross with -fno-plt

2019-05-24 Thread Shane Peelar
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: > &

Re: [yocto] prelink-cross with -fno-plt

2019-05-23 Thread Shane Peelar
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

[yocto] prelink-cross with -fno-plt

2019-05-23 Thread Shane Peelar
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