objcopy --set-section-flags .data=alloc,load,data,share

peter.kourzanov@xs4all.nl peter.kourzanov@xs4all.nl
Thu Nov 11 10:26:00 GMT 2004


Hello,

  I've got a question about semantics of the "share" section flag
in objcopy. It seems not be documented anywhere and all links I
could google up refer to COFF binaries, with unexplained semantics
as well. Is there a possibility to mark a "shared" section in ELF,
so that OS's that need it can map the section as shared?

  I did try the invokation mentioned in the subject, it seems to
have no effect on the binary.

  TIA,

  Pjotr Kourzanov



More information about the Binutils mailing list