set-section-flags of objcopy

Hi,

Can anybody tell me where I can find the meaning of every single flag which is used in set-section-flags of objcopy? i.e. what are the meaning of "alloc", "load", "readonly", "code", "data", and "rom"?

Thanks a lot!

Frank

Reply to
Frank
Loading thread data ...

`--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.

Note the last sentence. A linux or unix newsgroup might be better.

--
Chuck F (cbfalconer@yahoo.com) (cbfalconer@worldnet.att.net)
   Available for consulting/temporary embedded and systems.
     USE worldnet address!
Reply to
CBFalconer

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.