Question about readelf output from shared library built with lld, gold, and bfd linkers
Tom Kacvinsky
tkacvins@gmail.com
Mon Nov 21 17:43:20 GMT 2022
On Mon, Nov 21, 2022 at 11:48 AM Nick Clifton <nickc@redhat.com> wrote:
> Hi Tom,
>
> > Also, a question: would -z combreloc make a difference with relocations
> at
> > startup? I was just perusing the ld manual and ran across that.
>
> It may well do. It is certainly worth a try.
>
Alas, no joy. These are the types of fun problems I face at work - change
one of the tools
we use to build our product and one of our performance tests has a
regression. Then it
is on me to figure out why. But, to be honest, this is black magic to me.
I do not know
where to start looking to figure out why lld generates the final ELF file
that runs quicker
than what is generated by the gold linker.
So, I guess the next question is this - what should I look for in the files
generated by lld
and gold, respectively, using readelf?
Thanks,
Tom
More information about the Binutils
mailing list