This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR23611, objcopy is not removing executable relocatable sections


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]