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


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.


Cheers
  Nick



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