PR23611, objcopy is not removing executable relocatable sections
Umesh Kalappa
umesh.kalappa0@gmail.com
Tue Sep 11 11:25:00 GMT 2018
Alan ,
>>>I applied a different patch to fix the PR.
The following commit ?
commit f9853190c8d90e9f7d43fae90478a0db291f9c03
Author: Alan Modra <amodra@gmail.com>
Date: Mon Sep 10 11:57:08 2018 +0930
PR23611, objcopy is not removing executable relocatable sections
Thank you
~Umesh
On Tue, Sep 11, 2018 at 4:19 PM Alan Modra <amodra@gmail.com> wrote:
>
> On Tue, Sep 11, 2018 at 01:20:54PM +0530, Umesh Kalappa wrote:
> > >>>That's true. I was going to apply a cleaned up version (attached) of
> > Kamlesh's patch to make --remove-relocations remove all types of reloc
> > section, but on reconsidering decided the existing behaviour was worth
> > keeping despite needing to document it.
> >
> > You mean Kamlesh patch is reverted back ?
>
> I applied a different patch to fix the PR. You can again use
> objcopy --remove-section=.rela.dyn to remove .rela.dyn.
>
> --
> Alan Modra
> Australia Development Lab, IBM
More information about the Binutils
mailing list