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: PATCH: PR binutils/4348: strip can't strip sections


On Thu, Apr 12, 2007 at 12:33:50PM +0100, Nick Clifton wrote:
> Hi H. J.
> 
> >I don't see why objcopy should stop when there are no sections to be
> >copied. After all, the resulting output file is still valid ELF
> >file.
> 
> I agree that the tools should not fail.  But they also should tell the 
> user that nothing has happened.  Otherwise the user will never know that 
> their objcopy/strip command was pointless and they may then consider it 
> a bug that nothing has changed.

Something is changed in my testcase: 3 sections are removed. Even
if nothing has changed, do we warn the second strip on the same
file:

# strip x.o
# strip x.o


H.J.


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