No subject
--set-section-flags SECTION=FLAGS'
Set the flags for the named section. The FLAGS argument is a comma separated string of flag names. The recognized names are alloc', contents', load', noload', readonly', code', data', rom', share', and debug'. You can set the contents' flag for a section which does not have contents, but it is not meaningful to clear the contents' flag of a section which does have contents-just remove the section instead. Not all flags are meaningful for all object file formats.
Since we build ELF files by default, you can look these up in any documentation about the ELF file format.
See for example http://www.cs.ucdavis.edu/~haungs/paper/node14.html
Best regards,
Wolfgang Denk
Signature · 3 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de I am an atheist, thank God!