mcs — Manipulate the Comment Section of an Object File
Synopsis
/usr/ccs/bin/mcs { -c | -d | -p | -V | -a string | -n name}... file...
Description
Use the mcs command to manipulate a section in an ELF object file. The default section is .comment. mcs is used to add to, delete, print, and compress the contents of a section in an ELF object file and print only the contents of a section in a Common Object File Format (COFF) object file. COFF is an object file format that preceded ELF on some computer architectures. mcs cannot add, delete or compress the contents of a section that is contained within a segment.
If the input file is an archive (see ar(4)), the archive is treated as a set of individual files. For example, if you specify the
Get Solaris™ 7 Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.