This is the mail archive of the binutils@sources.redhat.com 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: "strip -R" with lots of arguments?


Nick Clifton <nickc@cambridge.redhat.com> writes:

> Long answer: It should not be too hard this support though.  Have a
> look at the function find_section_list() in binutils/objcopy.c.  All
> you need to do it detect if 'name' starts with a special character
> (maybe '@' ?) and if it does, interpret the rest of the name as a
> filename to be loaded and repeatedly passed to find_section_list().

Don't do it that way.  The day after you write that patch somebody
will start using section names which start with '@'.  You have to use
a different option.

Ian


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