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: C6X: Keep OS/ABI when running strip


On Mon, 27 Jun 2011, Bernd Schmidt wrote:

> This is a fixlet for a problem introduced with the patch that made us
> set OS/ABI to C6X-specific values. strip and objcopy changed the value
> back to the default. Ok?

What happens if you strip a .o file (--strip-debug, say, is a useful case 
of stripping .o files) with this patch?  
That shouldn't add an OSABI.  It would be good to have testcases that 
verify that strip preserves the OSABI for executables and shared libraries 
and leaves it unset of .o files - maybe make the existing OSABI tests 
strip the objects after first testing their OSABI and report the results 
of testing OSABI after strip as well (with a different test name after 
PASS or FAIL, of course).

-- 
Joseph S. Myers
joseph@codesourcery.com


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