"strip -R" with lots of arguments?

Adam Megacz adam@megacz.com
Tue Jan 29 10:35:00 GMT 2002


I need to remove a few thousand sections out of an ar-archive. I can't
fit them all on the command line, since most OSes have a hard limit of
something around 2kb on argv[].

Is there any way to pass in a file with a list of sections to remove,
similar to "objcopy --strip-symbols=<file>"?

Right now I'm doing this in multiple passes, and it takes way longer
than it should.

  - a



More information about the Binutils mailing list